Rustc crashes when parsing an ambiguous cast and compare #42954
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
An unexpected compiler panic occurs when parsing a macro that casts without parentheses surrounding the cast.
I tried this code:
I expected to see this happen:
Instead, this happened: the compiler panicked
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: