-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
ICE: 'compiler/rustc_interface/src/interface.rs:181:45: shoudn't be possible' #111291
Copy link
Copy link
Closed
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Run
RUSTFLAGS='-Z unstable-options --check-cfg=names(a) --check-cfg=values(a,"b")' cargo buildIt works if the order of
--check-cfg=namesand-check-cfg=valuesis 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