1
1
error: `dyn` is a keyword in the 2018 edition
2
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:13 :13
2
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:14 :13
3
3
|
4
4
LL | pub mod dyn {
5
5
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
6
6
|
7
7
note: the lint level is defined here
8
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:10 :9
8
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:11 :9
9
9
|
10
10
LL | #![deny(keyword_idents)]
11
11
| ^^^^^^^^^^^^^^
12
12
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
13
13
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
14
14
15
15
error: `dyn` is a keyword in the 2018 edition
16
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:16 :20
16
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:17 :20
17
17
|
18
18
LL | pub struct dyn;
19
19
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -22,7 +22,7 @@ LL | pub struct dyn;
22
22
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
23
23
24
24
error: `dyn` is a keyword in the 2018 edition
25
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:21 :16
25
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22 :16
26
26
|
27
27
LL | use outer_mod::dyn::dyn;
28
28
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -31,7 +31,7 @@ LL | use outer_mod::dyn::dyn;
31
31
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
32
32
33
33
error: `dyn` is a keyword in the 2018 edition
34
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:21 :21
34
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22 :21
35
35
|
36
36
LL | use outer_mod::dyn::dyn;
37
37
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -40,7 +40,7 @@ LL | use outer_mod::dyn::dyn;
40
40
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
41
41
42
42
error: `dyn` is a keyword in the 2018 edition
43
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:28 :11
43
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29 :11
44
44
|
45
45
LL | match dyn { dyn => {} }
46
46
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -49,7 +49,7 @@ LL | match dyn { dyn => {} }
49
49
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
50
50
51
51
error: `dyn` is a keyword in the 2018 edition
52
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:28 :17
52
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29 :17
53
53
|
54
54
LL | match dyn { dyn => {} }
55
55
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -58,7 +58,7 @@ LL | match dyn { dyn => {} }
58
58
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
59
59
60
60
error: `dyn` is a keyword in the 2018 edition
61
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:33 :17
61
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:34 :17
62
62
|
63
63
LL | macro_defn::dyn();
64
64
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -67,7 +67,7 @@ LL | macro_defn::dyn();
67
67
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
68
68
69
69
error: `dyn` is a keyword in the 2018 edition
70
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:43 :18
70
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:44 :18
71
71
|
72
72
LL | macro_rules! dyn {
73
73
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -76,7 +76,7 @@ LL | macro_rules! dyn {
76
76
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
77
77
78
78
error: `dyn` is a keyword in the 2018 edition
79
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51 :12
79
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52 :12
80
80
|
81
81
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
82
82
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -85,7 +85,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
85
85
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
86
86
87
87
error: `dyn` is a keyword in the 2018 edition
88
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51 :34
88
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52 :34
89
89
|
90
90
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
91
91
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -94,7 +94,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
94
94
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
95
95
96
96
error: `dyn` is a keyword in the 2018 edition
97
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:51 :39
97
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52 :39
98
98
|
99
99
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
100
100
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -103,7 +103,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
103
103
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
104
104
105
105
error: `dyn` is a keyword in the 2018 edition
106
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:58 :22
106
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59 :22
107
107
|
108
108
LL | ::outer_mod::dyn::dyn
109
109
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -112,7 +112,7 @@ LL | ::outer_mod::dyn::dyn
112
112
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
113
113
114
114
error: `dyn` is a keyword in the 2018 edition
115
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:58 :27
115
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59 :27
116
116
|
117
117
LL | ::outer_mod::dyn::dyn
118
118
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
@@ -121,7 +121,7 @@ LL | ::outer_mod::dyn::dyn
121
121
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
122
122
123
123
error: `dyn` is a keyword in the 2018 edition
124
- --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:67 :23
124
+ --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:68 :23
125
125
|
126
126
LL | pub fn boxed() -> dyn!(
127
127
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
0 commit comments