ICE: assertion failed: assert_eq!(self.diverges.get(), Diverges::Maybe)
in rustc_hir_typeck/src/expr.rs
#141592
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.
Code
A mutant of glacier2's fixed/72372.rs
Meta
rustc --version --verbose
:Error output
command:
rustc
Backtrace
Bisects to
tool version:
cargo-bisect-rustc 0.6.9
command:
cargo-bisect-rustc --start=2023-05-01 --end=2025-05-22 --regress ice --preserve --script rustc -- never_4.rs
Notes
compiler/rustc_hir_typeck/src/expr.rs Line-1781
rust/compiler/rustc_hir_typeck/src/expr.rs
Lines 1766 to 1781 in 2e6882a
@rustbot label +F-never_patterns
The text was updated successfully, but these errors were encountered: