Panic in match against non-unit variant as if it were unit variant #58006
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
First off, I would be interested in trying to fix this, seems simple enough. I figured I would start by filing a bug to document the issue and perhaps get some info on how best to fix this.
The code:
The panic came from:
rust/src/librustc_typeck/check/_match.rs
Line 795 in 9323499
The panic content:
The text was updated successfully, but these errors were encountered: