@@ -5,7 +5,7 @@ LL | pub mod dyn {
55 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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/dyn-2015-edition-keyword-ident-lint.rs:11:9
1111 |
@@ -20,7 +20,7 @@ LL | pub struct dyn;
2020 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
2626 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:16
@@ -29,7 +29,7 @@ LL | use outer_mod::dyn::dyn;
2929 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
3535 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:21
@@ -38,7 +38,7 @@ LL | use outer_mod::dyn::dyn;
3838 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
4444 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:11
@@ -47,7 +47,7 @@ LL | match dyn { dyn => {} }
4747 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
5353 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:17
@@ -56,7 +56,7 @@ LL | match dyn { dyn => {} }
5656 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
6262 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:34:17
@@ -65,7 +65,7 @@ LL | macro_defn::dyn();
6565 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
7171 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:44:18
@@ -74,7 +74,7 @@ LL | macro_rules! dyn {
7474 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
8080 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:12
@@ -83,7 +83,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
8383 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
8989 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:34
@@ -92,7 +92,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
9292 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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: `dyn` is a keyword in the 2018 edition
9898 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:39
@@ -101,7 +101,7 @@ LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
101101 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
102102 |
103103 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
104- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
104+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
105105
106106error: `dyn` is a keyword in the 2018 edition
107107 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:22
@@ -110,7 +110,7 @@ LL | ::outer_mod::dyn::dyn
110110 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
111111 |
112112 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
113- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
113+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
114114
115115error: `dyn` is a keyword in the 2018 edition
116116 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:27
@@ -119,7 +119,7 @@ LL | ::outer_mod::dyn::dyn
119119 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
120120 |
121121 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
122- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
122+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
123123
124124error: `dyn` is a keyword in the 2018 edition
125125 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:68:23
@@ -128,7 +128,7 @@ LL | pub fn boxed() -> dyn!(
128128 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
129129 |
130130 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
131- = note: for more information, see issue #49716 <https://github.com/ rust-lang/ rust/issues/49716 >
131+ = note: for more information, see <https://doc. rust-lang.org/edition-guide/ rust-2018/new-keywords.html >
132132
133133error: aborting due to 14 previous errors
134134
0 commit comments