ICE: None
in rustc_mir_build/src/builder/matches/mod.rs
#141589
Labels
C-bug
Category: This is a bug.
F-never_patterns
`#![feature(never_patterns)]`
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.
Uh oh!
There was an error while loading. Please reload this page.
Code
A mutant of glacier2's fixed/109523.rs
Meta
rustc --version --verbose
:Error output
command:
rustc --edition=2021
Backtrace
Bisects to
cargo-bisect-rustc 0.6.9
command:
cargo-bisect-rustc --start=2023-05-01 --end=2024-05-01 --regress ice --preserve --script rustc -- never_1.rs --edition=2021
I guess it bisects to PR-120136, which includes PR-120009.
Notes
ICE location:
compiler/rustc_mir_build/src/builder/matches/mod.rs Line-2110
rust/compiler/rustc_mir_build/src/builder/matches/mod.rs
Lines 2105 to 2114 in 283db70
internal compiler error: two identical projections #137467 has the same ICE location and query stack but does not use the
never_patterns
feature. I'm not sure if this report is a duplicate of that.In the case of never_patterns,
None
inrustc_mir_build/src/builder/matches/mod.rs
#136852 also shows the same ICE location.@rustbot label +F-never_patterns
The text was updated successfully, but these errors were encountered: