|
1 | 1 | error: expected `{`, found keyword `let` |
2 | | - --> $DIR/block-no-opening-brace.rs:9:6 |
| 2 | + --> $DIR/block-no-opening-brace.rs:9:9 |
3 | 3 | | |
4 | | -LL | let x = 0; |
5 | | - | ^^^------- |
6 | | - | | |
7 | | - | expected `{` |
8 | | - | help: try placing this code inside a block: `{ let x = 0; }` |
| 4 | +LL | let x = 0; |
| 5 | + | ^^^------- |
| 6 | + | | |
| 7 | + | expected `{` |
| 8 | + | help: try placing this code inside a block: `{ let x = 0; }` |
9 | 9 |
|
10 | 10 | error: expected `{`, found keyword `let` |
11 | | - --> $DIR/block-no-opening-brace.rs:14:6 |
| 11 | + --> $DIR/block-no-opening-brace.rs:15:9 |
12 | 12 | | |
13 | | -LL | let x = 0; |
14 | | - | ^^^------- |
15 | | - | | |
16 | | - | expected `{` |
17 | | - | help: try placing this code inside a block: `{ let x = 0; }` |
| 13 | +LL | let x = 0; |
| 14 | + | ^^^------- |
| 15 | + | | |
| 16 | + | expected `{` |
| 17 | + | help: try placing this code inside a block: `{ let x = 0; }` |
18 | 18 |
|
19 | 19 | error: expected `{`, found keyword `let` |
20 | | - --> $DIR/block-no-opening-brace.rs:19:6 |
| 20 | + --> $DIR/block-no-opening-brace.rs:20:9 |
21 | 21 | | |
22 | | -LL | let x = 0; |
23 | | - | ^^^------- |
24 | | - | | |
25 | | - | expected `{` |
26 | | - | help: try placing this code inside a block: `{ let x = 0; }` |
| 22 | +LL | let x = 0; |
| 23 | + | ^^^------- |
| 24 | + | | |
| 25 | + | expected `{` |
| 26 | + | help: try placing this code inside a block: `{ let x = 0; }` |
27 | 27 |
|
28 | 28 | error: expected expression, found reserved keyword `try` |
29 | | - --> $DIR/block-no-opening-brace.rs:23:4 |
| 29 | + --> $DIR/block-no-opening-brace.rs:24:5 |
30 | 30 | | |
31 | | -LL | try |
32 | | - | ^^^ expected expression |
| 31 | +LL | try |
| 32 | + | ^^^ expected expression |
33 | 33 |
|
34 | 34 | error: expected one of `move`, `|`, or `||`, found keyword `let` |
35 | | - --> $DIR/block-no-opening-brace.rs:29:6 |
| 35 | + --> $DIR/block-no-opening-brace.rs:30:9 |
36 | 36 | | |
37 | | -LL | async |
38 | | - | - expected one of `move`, `|`, or `||` |
39 | | -LL | let x = 0; |
40 | | - | ^^^ unexpected token |
| 37 | +LL | async |
| 38 | + | - expected one of `move`, `|`, or `||` |
| 39 | +LL | let x = 0; |
| 40 | + | ^^^ unexpected token |
41 | 41 |
|
42 | 42 | error[E0658]: async closures are unstable |
43 | | - --> $DIR/block-no-opening-brace.rs:28:4 |
| 43 | + --> $DIR/block-no-opening-brace.rs:29:5 |
44 | 44 | | |
45 | | -LL | async |
46 | | - | ^^^^^ |
| 45 | +LL | async |
| 46 | + | ^^^^^ |
47 | 47 | | |
48 | 48 | = note: see issue #62290 <https://github.com/rust-lang/rust/issues/62290> for more information |
49 | 49 | = help: add `#![feature(async_closure)]` to the crate attributes to enable |
|
0 commit comments