1 error: expected identifier, found reserved keyword `await`
2 --> $DIR/2018-edition-error-in-non-macro-position.rs:7:13
5 | ^^^^^ expected identifier, found reserved keyword
6 help: you can escape reserved keywords to use them as identifiers
11 error: expected identifier, found reserved keyword `await`
12 --> $DIR/2018-edition-error-in-non-macro-position.rs:8:20
14 LL | pub struct await;
15 | ^^^^^ expected identifier, found reserved keyword
16 help: you can escape reserved keywords to use them as identifiers
18 LL | pub struct r#await;
21 error: expected identifier, found reserved keyword `await`
22 --> $DIR/2018-edition-error-in-non-macro-position.rs:11:22
24 LL | use self::outer_mod::await::await;
25 | ^^^^^ expected identifier, found reserved keyword
26 help: you can escape reserved keywords to use them as identifiers
28 LL | use self::outer_mod::r#await::await;
31 error: expected identifier, found reserved keyword `await`
32 --> $DIR/2018-edition-error-in-non-macro-position.rs:11:29
34 LL | use self::outer_mod::await::await;
35 | ^^^^^ expected identifier, found reserved keyword
36 help: you can escape reserved keywords to use them as identifiers
38 LL | use self::outer_mod::await::r#await;
41 error: expected identifier, found reserved keyword `await`
42 --> $DIR/2018-edition-error-in-non-macro-position.rs:14:14
44 LL | struct Foo { await: () }
45 | ^^^^^ expected identifier, found reserved keyword
46 help: you can escape reserved keywords to use them as identifiers
48 LL | struct Foo { r#await: () }
51 error: expected identifier, found reserved keyword `await`
52 --> $DIR/2018-edition-error-in-non-macro-position.rs:17:15
54 LL | impl Foo { fn await() {} }
55 | ^^^^^ expected identifier, found reserved keyword
56 help: you can escape reserved keywords to use them as identifiers
58 LL | impl Foo { fn r#await() {} }
61 error: expected identifier, found reserved keyword `await`
62 --> $DIR/2018-edition-error-in-non-macro-position.rs:20:14
64 LL | macro_rules! await {
65 | ^^^^^ expected identifier, found reserved keyword
66 help: you can escape reserved keywords to use them as identifiers
68 LL | macro_rules! r#await {
71 error: aborting due to 7 previous errors