1 error: `await` is a keyword in the 2018 edition
2 --> $DIR/2015-edition-error-various-positions.rs:5:13
5 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
7 note: the lint level is defined here
8 --> $DIR/2015-edition-error-various-positions.rs:2:9
10 LL | #![deny(keyword_idents)]
12 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
13 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
15 error: `await` is a keyword in the 2018 edition
16 --> $DIR/2015-edition-error-various-positions.rs:7:20
18 LL | pub struct await;
19 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
22 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
24 error: `await` is a keyword in the 2018 edition
25 --> $DIR/2015-edition-error-various-positions.rs:11:16
27 LL | use outer_mod::await::await;
28 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
30 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
31 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
33 error: `await` is a keyword in the 2018 edition
34 --> $DIR/2015-edition-error-various-positions.rs:11:23
36 LL | use outer_mod::await::await;
37 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
39 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
40 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
42 error: `await` is a keyword in the 2018 edition
43 --> $DIR/2015-edition-error-various-positions.rs:16:14
45 LL | struct Foo { await: () }
46 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
48 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
49 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
51 error: `await` is a keyword in the 2018 edition
52 --> $DIR/2015-edition-error-various-positions.rs:20:15
54 LL | impl Foo { fn await() {} }
55 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
57 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
58 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
60 error: `await` is a keyword in the 2018 edition
61 --> $DIR/2015-edition-error-various-positions.rs:24:14
63 LL | macro_rules! await {
64 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
66 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
67 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
69 error: `await` is a keyword in the 2018 edition
70 --> $DIR/2015-edition-error-various-positions.rs:31:5
73 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
75 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
76 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
78 error: `await` is a keyword in the 2018 edition
79 --> $DIR/2015-edition-error-various-positions.rs:34:11
81 LL | match await { await => {} }
82 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
84 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
85 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
87 error: `await` is a keyword in the 2018 edition
88 --> $DIR/2015-edition-error-various-positions.rs:34:19
90 LL | match await { await => {} }
91 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
93 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
94 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
96 error: aborting due to 10 previous errors