if-let chain on nightly: rustc panicked at expected NodeId
to be lowered
#82828
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.
I am new to rust, and I found this bug while trying to guess whether I could chain if-let expressions with &&. I created a smaller example that causes the panic. This appears to only panic on nightly.
For the record, I was slightly drunk when I found this bug. :)
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: