]> git.lizzy.rs Git - rust.git/blob - src/test/ui/await-keyword/2018-edition-error.stderr
Make "await" a pseudo-edition keyword
[rust.git] / src / test / ui / await-keyword / 2018-edition-error.stderr
1 error[E0721]: `await` is a keyword in the 2018 edition
2   --> $DIR/2018-edition-error.rs:5:13
3    |
4 LL |     pub mod await {
5    |             ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
6
7 error[E0721]: `await` is a keyword in the 2018 edition
8   --> $DIR/2018-edition-error.rs:6:20
9    |
10 LL |         pub struct await;
11    |                    ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
12
13 error[E0721]: `await` is a keyword in the 2018 edition
14   --> $DIR/2018-edition-error.rs:9:22
15    |
16 LL | use self::outer_mod::await::await;
17    |                      ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
18
19 error[E0721]: `await` is a keyword in the 2018 edition
20   --> $DIR/2018-edition-error.rs:9:29
21    |
22 LL | use self::outer_mod::await::await;
23    |                             ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
24
25 error[E0721]: `await` is a keyword in the 2018 edition
26   --> $DIR/2018-edition-error.rs:12:11
27    |
28 LL |     match await { await => () }
29    |           ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
30
31 error[E0721]: `await` is a keyword in the 2018 edition
32   --> $DIR/2018-edition-error.rs:12:19
33    |
34 LL |     match await { await => () }
35    |                   ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
36
37 error: aborting due to 6 previous errors
38
39 For more information about this error, try `rustc --explain E0721`.