2021-12-01 15:36:50 -06:00
|
|
|
// Regression test for issue #91421.
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let value = if true && {
|
2022-05-27 23:58:48 -05:00
|
|
|
//~^ ERROR: this `if` expression is missing a block after the condition
|
|
|
|
//~| HELP: this binary operation is possibly unfinished
|
2021-12-01 15:36:50 -06:00
|
|
|
3
|
|
|
|
} else { 4 };
|
|
|
|
}
|