You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
6
6
|
7
7
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8
8
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -23,7 +23,7 @@ LL | pub struct await;
23
23
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -32,7 +32,7 @@ LL | use outer_mod::await::await;
32
32
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -41,7 +41,7 @@ LL | use outer_mod::await::await;
41
41
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -50,7 +50,7 @@ LL | struct Foo { await: () }
50
50
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -59,7 +59,7 @@ LL | impl Foo { fn await() {} }
59
59
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -68,7 +68,7 @@ LL | macro_rules! await {
68
68
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -77,7 +77,7 @@ LL | await!();
77
77
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
Copy file name to clipboardExpand all lines: tests/ui/async-await/await-keyword/2015-edition-warning.stderr
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
error: `await` is a keyword in the 2018 edition
2
-
--> $DIR/2015-edition-warning.rs:7:13
2
+
--> $DIR/2015-edition-warning.rs:8:13
3
3
|
4
4
LL | pub mod await {
5
5
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
6
6
|
7
7
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8
8
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
9
9
note: the lint level is defined here
10
-
--> $DIR/2015-edition-warning.rs:4:9
10
+
--> $DIR/2015-edition-warning.rs:5:9
11
11
|
12
12
LL | #![deny(keyword_idents)]
13
13
| ^^^^^^^^^^^^^^
14
14
= note: `#[deny(keyword_idents_2018)]` implied by `#[deny(keyword_idents)]`
15
15
16
16
error: `await` is a keyword in the 2018 edition
17
-
--> $DIR/2015-edition-warning.rs:10:20
17
+
--> $DIR/2015-edition-warning.rs:11:20
18
18
|
19
19
LL | pub struct await;
20
20
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -23,7 +23,7 @@ LL | pub struct await;
23
23
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
24
24
25
25
error: `await` is a keyword in the 2018 edition
26
-
--> $DIR/2015-edition-warning.rs:15:16
26
+
--> $DIR/2015-edition-warning.rs:16:16
27
27
|
28
28
LL | use outer_mod::await::await;
29
29
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -32,7 +32,7 @@ LL | use outer_mod::await::await;
32
32
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
33
33
34
34
error: `await` is a keyword in the 2018 edition
35
-
--> $DIR/2015-edition-warning.rs:15:23
35
+
--> $DIR/2015-edition-warning.rs:16:23
36
36
|
37
37
LL | use outer_mod::await::await;
38
38
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -41,7 +41,7 @@ LL | use outer_mod::await::await;
41
41
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
42
42
43
43
error: `await` is a keyword in the 2018 edition
44
-
--> $DIR/2015-edition-warning.rs:22:11
44
+
--> $DIR/2015-edition-warning.rs:23:11
45
45
|
46
46
LL | match await { await => {} }
47
47
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
51
51
52
52
error: `await` is a keyword in the 2018 edition
53
-
--> $DIR/2015-edition-warning.rs:22:19
53
+
--> $DIR/2015-edition-warning.rs:23:19
54
54
|
55
55
LL | match await { await => {} }
56
56
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
0 commit comments