@@ -5,7 +5,7 @@ LL | 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!
8- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
8+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
99note: the lint level is defined here
1010 --> $DIR/2015-edition-error-various-positions.rs:3:9
1111 |
@@ -20,7 +20,7 @@ LL | pub struct await;
2020 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
2121 |
2222 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
23- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
23+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
2424
2525error: `await` is a keyword in the 2018 edition
2626 --> $DIR/2015-edition-error-various-positions.rs:12:16
@@ -29,7 +29,7 @@ LL | use outer_mod::await::await;
2929 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
3030 |
3131 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
32- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
32+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
3333
3434error: `await` is a keyword in the 2018 edition
3535 --> $DIR/2015-edition-error-various-positions.rs:12:23
@@ -38,7 +38,7 @@ LL | use outer_mod::await::await;
3838 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
3939 |
4040 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
41- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
41+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
4242
4343error: `await` is a keyword in the 2018 edition
4444 --> $DIR/2015-edition-error-various-positions.rs:17:14
@@ -47,7 +47,7 @@ LL | struct Foo { await: () }
4747 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
4848 |
4949 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
50- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
50+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
5151
5252error: `await` is a keyword in the 2018 edition
5353 --> $DIR/2015-edition-error-various-positions.rs:21:15
@@ -56,7 +56,7 @@ LL | impl Foo { fn await() {} }
5656 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
5757 |
5858 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
59- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
59+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
6060
6161error: `await` is a keyword in the 2018 edition
6262 --> $DIR/2015-edition-error-various-positions.rs:25:14
@@ -65,7 +65,7 @@ LL | macro_rules! await {
6565 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
6666 |
6767 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
68- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
68+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
6969
7070error: `await` is a keyword in the 2018 edition
7171 --> $DIR/2015-edition-error-various-positions.rs:32:5
@@ -74,7 +74,7 @@ LL | await!();
7474 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
7575 |
7676 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
77- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
77+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
7878
7979error: `await` is a keyword in the 2018 edition
8080 --> $DIR/2015-edition-error-various-positions.rs:35:11
@@ -83,7 +83,7 @@ LL | match await { await => {} }
8383 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
8484 |
8585 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
86- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
86+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
8787
8888error: `await` is a keyword in the 2018 edition
8989 --> $DIR/2015-edition-error-various-positions.rs:35:19
@@ -92,7 +92,7 @@ LL | match await { await => {} }
9292 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
9393 |
9494 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
95- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
95+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
9696
9797error: aborting due to 10 previous errors
9898
0 commit comments