blob: 8bba27f37243973258538a7c948b27ee69f0637a (
plain)
1
2
3
4
5
6
7
8
9
|
// Regression test for issue #91421.
fn main() {
let value = if true && {
//~^ ERROR: this `if` expression is missing a block after the condition
//~| HELP: this binary operation is possibly unfinished
3
} else { 4 };
}
|