blob: 2d1ee04ce09a8bf3071161b2ae89ea9a4e26547c (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
 | error: this `if` expression is missing a block after the condition
  --> $DIR/if-without-block.rs:3:5
   |
LL |     if 5 == {
   |     ^^
   |
help: this binary operation is possibly unfinished
  --> $DIR/if-without-block.rs:3:8
   |
LL |     if 5 == {
   |        ^^^^
error: aborting due to previous error
 |