11error: `await` is a keyword in the 2018 edition
2- --> $DIR/2015-edition-error-in-non-macro-position .rs:6: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 |
77note: lint level defined here
8- --> $DIR/2015-edition-error-in-non-macro-position .rs:3:9
8+ --> $DIR/2015-edition-error-various-positions .rs:3:9
99 |
1010LL | #![deny(keyword_idents)]
1111 | ^^^^^^^^^^^^^^
1212 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
1313 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
1414
1515error: `await` is a keyword in the 2018 edition
16- --> $DIR/2015-edition-error-in-non-macro-position .rs:8:20
16+ --> $DIR/2015-edition-error-various-positions .rs:8:20
1717 |
1818LL | pub struct await;
1919 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -22,7 +22,7 @@ LL | pub struct await;
2222 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
2323
2424error: `await` is a keyword in the 2018 edition
25- --> $DIR/2015-edition-error-in-non-macro-position .rs:12:16
25+ --> $DIR/2015-edition-error-various-positions .rs:12:16
2626 |
2727LL | use outer_mod::await::await;
2828 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -31,7 +31,7 @@ LL | use outer_mod::await::await;
3131 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
3232
3333error: `await` is a keyword in the 2018 edition
34- --> $DIR/2015-edition-error-in-non-macro-position .rs:12:23
34+ --> $DIR/2015-edition-error-various-positions .rs:12:23
3535 |
3636LL | use outer_mod::await::await;
3737 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -40,7 +40,7 @@ LL | use outer_mod::await::await;
4040 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
4141
4242error: `await` is a keyword in the 2018 edition
43- --> $DIR/2015-edition-error-in-non-macro-position .rs:17:14
43+ --> $DIR/2015-edition-error-various-positions .rs:17:14
4444 |
4545LL | struct Foo { await: () }
4646 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -49,7 +49,7 @@ LL | struct Foo { await: () }
4949 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
5050
5151error: `await` is a keyword in the 2018 edition
52- --> $DIR/2015-edition-error-in-non-macro-position .rs:21:15
52+ --> $DIR/2015-edition-error-various-positions .rs:21:15
5353 |
5454LL | impl Foo { fn await() {} }
5555 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -58,7 +58,7 @@ LL | impl Foo { fn await() {} }
5858 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
5959
6060error: `await` is a keyword in the 2018 edition
61- --> $DIR/2015-edition-error-in-non-macro-position .rs:25:14
61+ --> $DIR/2015-edition-error-various-positions .rs:25:14
6262 |
6363LL | macro_rules! await {
6464 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -67,7 +67,16 @@ LL | macro_rules! await {
6767 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
6868
6969error: `await` is a keyword in the 2018 edition
70- --> $DIR/2015-edition-error-in-non-macro-position.rs:32:11
70+ --> $DIR/2015-edition-error-various-positions.rs:32:5
71+ |
72+ LL | await!();
73+ | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
74+ |
75+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
76+ = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
77+
78+ error: `await` is a keyword in the 2018 edition
79+ --> $DIR/2015-edition-error-various-positions.rs:35:11
7180 |
7281LL | match await { await => {} }
7382 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -76,13 +85,13 @@ LL | match await { await => {} }
7685 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
7786
7887error: `await` is a keyword in the 2018 edition
79- --> $DIR/2015-edition-error-in-non-macro-position .rs:32 :19
88+ --> $DIR/2015-edition-error-various-positions .rs:35 :19
8089 |
8190LL | match await { await => {} }
8291 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
8392 |
8493 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
8594 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
8695
87- error: aborting due to 9 previous errors
96+ error: aborting due to 10 previous errors
8897
0 commit comments