11error: `await` is a keyword in the 2018 edition
2- --> $DIR/2015-edition-error-various-positions.rs:5 :13
2+ --> $DIR/2015-edition-error-various-positions.rs:6 :13
33 |
44LL | pub mod await {
55 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
66 |
77 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
88 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
99note: the lint level is defined here
10- --> $DIR/2015-edition-error-various-positions.rs:2 :9
10+ --> $DIR/2015-edition-error-various-positions.rs:3 :9
1111 |
1212LL | #![deny(keyword_idents)]
1313 | ^^^^^^^^^^^^^^
1414 = note: `#[deny(keyword_idents_2018)]` implied by `#[deny(keyword_idents)]`
1515
1616error: `await` is a keyword in the 2018 edition
17- --> $DIR/2015-edition-error-various-positions.rs:7 :20
17+ --> $DIR/2015-edition-error-various-positions.rs:8 :20
1818 |
1919LL | pub struct await;
2020 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -23,7 +23,7 @@ LL | pub struct await;
2323 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
2424
2525error: `await` is a keyword in the 2018 edition
26- --> $DIR/2015-edition-error-various-positions.rs:11 :16
26+ --> $DIR/2015-edition-error-various-positions.rs:12 :16
2727 |
2828LL | use outer_mod::await::await;
2929 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -32,7 +32,7 @@ LL | use outer_mod::await::await;
3232 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
3333
3434error: `await` is a keyword in the 2018 edition
35- --> $DIR/2015-edition-error-various-positions.rs:11 :23
35+ --> $DIR/2015-edition-error-various-positions.rs:12 :23
3636 |
3737LL | use outer_mod::await::await;
3838 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -41,7 +41,7 @@ LL | use outer_mod::await::await;
4141 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
4242
4343error: `await` is a keyword in the 2018 edition
44- --> $DIR/2015-edition-error-various-positions.rs:16 :14
44+ --> $DIR/2015-edition-error-various-positions.rs:17 :14
4545 |
4646LL | struct Foo { await: () }
4747 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -50,7 +50,7 @@ LL | struct Foo { await: () }
5050 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
5151
5252error: `await` is a keyword in the 2018 edition
53- --> $DIR/2015-edition-error-various-positions.rs:20 :15
53+ --> $DIR/2015-edition-error-various-positions.rs:21 :15
5454 |
5555LL | impl Foo { fn await() {} }
5656 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -59,7 +59,7 @@ LL | impl Foo { fn await() {} }
5959 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
6060
6161error: `await` is a keyword in the 2018 edition
62- --> $DIR/2015-edition-error-various-positions.rs:24 :14
62+ --> $DIR/2015-edition-error-various-positions.rs:25 :14
6363 |
6464LL | macro_rules! await {
6565 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -68,7 +68,7 @@ LL | macro_rules! await {
6868 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
6969
7070error: `await` is a keyword in the 2018 edition
71- --> $DIR/2015-edition-error-various-positions.rs:31 :5
71+ --> $DIR/2015-edition-error-various-positions.rs:32 :5
7272 |
7373LL | await!();
7474 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -77,7 +77,7 @@ LL | await!();
7777 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
7878
7979error: `await` is a keyword in the 2018 edition
80- --> $DIR/2015-edition-error-various-positions.rs:34 :11
80+ --> $DIR/2015-edition-error-various-positions.rs:35 :11
8181 |
8282LL | match await { await => {} }
8383 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -86,7 +86,7 @@ LL | match await { await => {} }
8686 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
8787
8888error: `await` is a keyword in the 2018 edition
89- --> $DIR/2015-edition-error-various-positions.rs:34 :19
89+ --> $DIR/2015-edition-error-various-positions.rs:35 :19
9090 |
9191LL | match await { await => {} }
9292 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
0 commit comments