1
1
error: `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
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-error-various-positions.rs:2 :9
10
+ --> $DIR/2015-edition-error-various-positions.rs:3 :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-error-various-positions.rs:7 :20
17
+ --> $DIR/2015-edition-error-various-positions.rs:8 :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-error-various-positions.rs:11 :16
26
+ --> $DIR/2015-edition-error-various-positions.rs:12 :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-error-various-positions.rs:11 :23
35
+ --> $DIR/2015-edition-error-various-positions.rs:12 :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-error-various-positions.rs:16 :14
44
+ --> $DIR/2015-edition-error-various-positions.rs:17 :14
45
45
|
46
46
LL | struct Foo { await: () }
47
47
| ^^^^^ 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>
51
51
52
52
error: `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
54
54
|
55
55
LL | impl Foo { fn await() {} }
56
56
| ^^^^^ 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>
60
60
61
61
error: `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
63
63
|
64
64
LL | macro_rules! await {
65
65
| ^^^^^ 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>
69
69
70
70
error: `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
72
72
|
73
73
LL | await!();
74
74
| ^^^^^ 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>
78
78
79
79
error: `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
81
81
|
82
82
LL | match await { await => {} }
83
83
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
@@ -86,7 +86,7 @@ LL | match await { await => {} }
86
86
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
87
87
88
88
error: `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
90
90
|
91
91
LL | match await { await => {} }
92
92
| ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
0 commit comments