]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-91421.rs
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / ui / parser / issue-91421.rs
1 // Regression test for issue #91421.
2
3 fn main() {
4     let value = if true && {
5     //~^ ERROR: this `if` expression is missing a block after the condition
6     //~| HELP: this binary operation is possibly unfinished
7         3
8     } else { 4 };
9 }