|
1 |
| -error: expected identifier, found reserved keyword `await` |
| 1 | +error: expected identifier, found keyword `await` |
2 | 2 | --> $DIR/2018-edition-error-in-non-macro-position.rs:6:13
|
3 | 3 | |
|
4 | 4 | LL | pub mod await {
|
5 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 5 | + | ^^^^^ expected identifier, found keyword |
6 | 6 | help: you can escape reserved keywords to use them as identifiers
|
7 | 7 | |
|
8 | 8 | LL | pub mod r#await {
|
9 | 9 | | ^^^^^^^
|
10 | 10 |
|
11 |
| -error: expected identifier, found reserved keyword `await` |
| 11 | +error: expected identifier, found keyword `await` |
12 | 12 | --> $DIR/2018-edition-error-in-non-macro-position.rs:7:20
|
13 | 13 | |
|
14 | 14 | LL | pub struct await;
|
15 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 15 | + | ^^^^^ expected identifier, found keyword |
16 | 16 | help: you can escape reserved keywords to use them as identifiers
|
17 | 17 | |
|
18 | 18 | LL | pub struct r#await;
|
19 | 19 | | ^^^^^^^
|
20 | 20 |
|
21 |
| -error: expected identifier, found reserved keyword `await` |
| 21 | +error: expected identifier, found keyword `await` |
22 | 22 | --> $DIR/2018-edition-error-in-non-macro-position.rs:10:22
|
23 | 23 | |
|
24 | 24 | LL | use self::outer_mod::await::await;
|
25 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 25 | + | ^^^^^ expected identifier, found keyword |
26 | 26 | help: you can escape reserved keywords to use them as identifiers
|
27 | 27 | |
|
28 | 28 | LL | use self::outer_mod::r#await::await;
|
29 | 29 | | ^^^^^^^
|
30 | 30 |
|
31 |
| -error: expected identifier, found reserved keyword `await` |
| 31 | +error: expected identifier, found keyword `await` |
32 | 32 | --> $DIR/2018-edition-error-in-non-macro-position.rs:10:29
|
33 | 33 | |
|
34 | 34 | LL | use self::outer_mod::await::await;
|
35 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 35 | + | ^^^^^ expected identifier, found keyword |
36 | 36 | help: you can escape reserved keywords to use them as identifiers
|
37 | 37 | |
|
38 | 38 | LL | use self::outer_mod::await::r#await;
|
39 | 39 | | ^^^^^^^
|
40 | 40 |
|
41 |
| -error: expected identifier, found reserved keyword `await` |
| 41 | +error: expected identifier, found keyword `await` |
42 | 42 | --> $DIR/2018-edition-error-in-non-macro-position.rs:13:14
|
43 | 43 | |
|
44 | 44 | LL | struct Foo { await: () }
|
45 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 45 | + | ^^^^^ expected identifier, found keyword |
46 | 46 | help: you can escape reserved keywords to use them as identifiers
|
47 | 47 | |
|
48 | 48 | LL | struct Foo { r#await: () }
|
49 | 49 | | ^^^^^^^
|
50 | 50 |
|
51 |
| -error: expected identifier, found reserved keyword `await` |
| 51 | +error: expected identifier, found keyword `await` |
52 | 52 | --> $DIR/2018-edition-error-in-non-macro-position.rs:16:15
|
53 | 53 | |
|
54 | 54 | LL | impl Foo { fn await() {} }
|
55 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 55 | + | ^^^^^ expected identifier, found keyword |
56 | 56 | help: you can escape reserved keywords to use them as identifiers
|
57 | 57 | |
|
58 | 58 | LL | impl Foo { fn r#await() {} }
|
59 | 59 | | ^^^^^^^
|
60 | 60 |
|
61 |
| -error: expected identifier, found reserved keyword `await` |
| 61 | +error: expected identifier, found keyword `await` |
62 | 62 | --> $DIR/2018-edition-error-in-non-macro-position.rs:19:14
|
63 | 63 | |
|
64 | 64 | LL | macro_rules! await {
|
65 |
| - | ^^^^^ expected identifier, found reserved keyword |
| 65 | + | ^^^^^ expected identifier, found keyword |
66 | 66 | help: you can escape reserved keywords to use them as identifiers
|
67 | 67 | |
|
68 | 68 | LL | macro_rules! r#await {
|
|
0 commit comments