1 error: expected identifier, found keyword `await`
2 --> $DIR/2018-edition-error-in-non-macro-position.rs:6:13
5 | ^^^^^ expected identifier, found keyword
7 help: escape `await` to use it as an identifier
12 error: expected identifier, found keyword `await`
13 --> $DIR/2018-edition-error-in-non-macro-position.rs:7:20
15 LL | pub struct await;
16 | ^^^^^ expected identifier, found keyword
18 help: escape `await` to use it as an identifier
20 LL | pub struct r#await;
23 error: expected identifier, found keyword `await`
24 --> $DIR/2018-edition-error-in-non-macro-position.rs:10:22
26 LL | use self::outer_mod::await::await;
27 | ^^^^^ expected identifier, found keyword
29 help: escape `await` to use it as an identifier
31 LL | use self::outer_mod::r#await::await;
34 error: expected identifier, found keyword `await`
35 --> $DIR/2018-edition-error-in-non-macro-position.rs:10:29
37 LL | use self::outer_mod::await::await;
38 | ^^^^^ expected identifier, found keyword
40 help: escape `await` to use it as an identifier
42 LL | use self::outer_mod::await::r#await;
45 error: expected identifier, found keyword `await`
46 --> $DIR/2018-edition-error-in-non-macro-position.rs:13:14
48 LL | struct Foo { await: () }
49 | --- ^^^^^ expected identifier, found keyword
51 | while parsing this struct
53 help: escape `await` to use it as an identifier
55 LL | struct Foo { r#await: () }
58 error: expected identifier, found keyword `await`
59 --> $DIR/2018-edition-error-in-non-macro-position.rs:16:15
61 LL | impl Foo { fn await() {} }
62 | ^^^^^ expected identifier, found keyword
64 help: escape `await` to use it as an identifier
66 LL | impl Foo { fn r#await() {} }
69 error: expected identifier, found keyword `await`
70 --> $DIR/2018-edition-error-in-non-macro-position.rs:19:14
72 LL | macro_rules! await {
73 | ^^^^^ expected identifier, found keyword
75 help: escape `await` to use it as an identifier
77 LL | macro_rules! r#await {
80 error: aborting due to 7 previous errors