ICE rustc' panicked at expected
NodeId when using
if let` in combination with a boolean test
#84795
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
playground
Meta
rustc --version --verbose
:rustc 1.53.0-nightly (42816d6 2021-04-24) gives a reasonable error message and does not panic:
Error output
Backtrace
The text was updated successfully, but these errors were encountered: