ICE after renaming enum #93013
Labels
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.
Code
I haven't had a chance to minimize this yet, but I can provide the project and commit where I first ran into it: https://github.com/cfredric/rlox/commit/96a1fbf419a5b80fb06ee98089b3d3426056b7bf. Interestingly, this commit just renamed an enum in my project; no logic changes. Is it possible that the name I chose collided with some rustc-internal name?
Meta
Note: the bug only reproduces with
cargo build
, not withcargo build --release
orcargo check
.rustc --version --verbose
:I tried reproducing on nightly and beta, but neither reproduced it. The relevant versions I checked were:
And:
Error output
cargo build
:Backtrace
The text was updated successfully, but these errors were encountered: