summary refs log tree commit diff
path: root/src/test/ui/expr/if/if-without-block.stderr
blob: ee2bb62e2bb5753877833f84b7479480b9469d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected `{`, found `}`
  --> $DIR/if-without-block.rs:7:1
   |
LL |     if 5 == {
   |     -- this `if` expression has a condition, but no block
...
LL | }
   | ^ expected `{`
   |
   = help: maybe you forgot the right operand of the condition?

error: aborting due to previous error