Skip to content

const_eval: comptime todo!() ICE on unimplemented path (latent, unstable) #505

@SebTardif

Description

@SebTardif

Bug

In compiler/rustc_const_eval/src/interpret/, the comptime evaluation path contains a todo!() that will ICE if reached. This is behind the unstable #[comptime] feature gate, so it cannot be triggered by stable Rust code.

The todo!() exists because the comptime feature is under active development and certain paths are not yet implemented. This is intentional but should be tracked.

Impact

Latent ICE behind unstable feature gate. Cannot be triggered on stable.

Found in

Round 66, const evaluator deep audit (2026-06-20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalConst evaluationP-lowLow impact: edge case or niche scenariobugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions