rustc panic (debug mode only) #91618
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
cargo test
in the attached project results in a panic in rustc.cargo test --release
works without any problemDeleting Cargo.lock and the entire target directory did not fix the issue.
Cargo project is here:
cluster_set.strip_down_to_repro_compiler_panic.zip
Unfortunately, it was a bit of a Heisenbug in that further simplification of the code make the panic disappear, but it didn't seem to follow any predictable logic. i.e. removing some functions that shouldn't have any effect made the bug go away, but then putting them back didn't make the bug return.
Meta
Panic occurs on both stable and nightly.
rustc --version --verbose
:Error output
Backtrace is here: (stable toolchain)
rustc_panic.txt
Also occurs on nightly:
rustc_panic.nightly.txt
The text was updated successfully, but these errors were encountered: