fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: expected `{`, found `=>` 2 --> $DIR/missing-block-hint.rs:3:18 3 | 4LL | if (foo) => {} 5 | -- ^^ expected `{` 6 | | 7 | this `if` statement has a condition, but no block 8 9error: expected `{`, found `bar` 10 --> $DIR/missing-block-hint.rs:7:13 11 | 12LL | if (foo) 13 | -- this `if` statement has a condition, but no block 14LL | bar; 15 | ^^^- 16 | | 17 | expected `{` 18 | help: try placing this code inside a block: `{ bar; }` 19 20error: aborting due to 2 previous errors 21