ICE when using exhaustive_patterns without never_type #51221
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
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.
This compiles successfully with
#![feature(exhaustive_patterns,never_type)]
. It's possible that this regressed when the two features were separated. It's also possible that stabilizing never_type first will make this issue moot.The text was updated successfully, but these errors were encountered: