ICE after updating to 1.56.0 #90160
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
The code should not compile, as there is a missing unwrap at the commented location. But instead of reporting an error, the compiler crashes.
The ICE occurs on stable and beta, however not on nightly (see version info below).
Adding the missing unwrap makes the code compile without ICE on stable, beta and nightly.
Cargo.toml:
Meta
rustc --version --verbose
:Also occurs on beta:
Does NOT occur on nightly:
Error output
Full output
The text was updated successfully, but these errors were encountered: