1 error: expected `{`, found `=>`
2 --> $DIR/missing-block-hint.rs:13:18
4 LL | if (foo) => {} //~ ERROR expected `{`, found `=>`
7 | this `if` statement has a condition, but no block
9 error: expected `{`, found `bar`
10 --> $DIR/missing-block-hint.rs:17:13
13 | -- this `if` statement has a condition, but no block
14 LL | bar; //~ ERROR expected `{`, found `bar`
17 | help: try placing this code inside a block: `{ bar; }`
19 error: aborting due to 2 previous errors