ICE: 'compiler/rustc_interface/src/interface.rs:181:45: shoudn't be possible' #111291
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Run
RUSTFLAGS='-Z unstable-options --check-cfg=names(a) --check-cfg=values(a,"b")' cargo build
It works if the order of
--check-cfg=names
and-check-cfg=values
is swapped. (e.i.,RUSTFLAGS='-Z unstable-options --check-cfg=values(a,"b") --check-cfg=names(a)' cargo build
)Meta
rustc --version --verbose
:Error output
The backtrace points to the line added in #111068.
cc @Urgau
@rustbot label +requires-nightly
The text was updated successfully, but these errors were encountered: