ICE in boolean expression #78135
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.
A typed expression with a comparison on the first branch and an assignment on the second causes an ICE.
E.g:
let b: bool = 1 == 1 && a = 3;
(see code below)Code
Meta
rustc --version --verbose
:Error output
(above is edited to format the
Expr
nicely.)Backtrace
The text was updated successfully, but these errors were encountered: