1 error: this `if` expression has a condition, but no block
2 --> $DIR/issue-91421.rs:4:17
4 LL | let value = if true && {
7 help: maybe you forgot the right operand of the condition?
8 --> $DIR/issue-91421.rs:4:25
10 LL | let value = if true && {
13 error[E0308]: mismatched types
14 --> $DIR/issue-91421.rs:7:9
17 | ^ expected `bool`, found integer
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.