1 error: `dyn` is a keyword in the 2018 edition
2 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:14:13
5 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
7 = 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>
9 note: the lint level is defined here
10 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:11:9
12 LL | #![deny(keyword_idents)]
15 error: `dyn` is a keyword in the 2018 edition
16 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:17:20
19 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
22 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
24 error: `dyn` is a keyword in the 2018 edition
25 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:16
27 LL | use outer_mod::dyn::dyn;
28 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
30 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
31 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
33 error: `dyn` is a keyword in the 2018 edition
34 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:21
36 LL | use outer_mod::dyn::dyn;
37 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
39 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
40 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
42 error: `dyn` is a keyword in the 2018 edition
43 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:11
45 LL | match dyn { dyn => {} }
46 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
48 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
49 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
51 error: `dyn` is a keyword in the 2018 edition
52 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:17
54 LL | match dyn { dyn => {} }
55 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
57 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
58 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
60 error: `dyn` is a keyword in the 2018 edition
61 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:34:17
63 LL | macro_defn::dyn();
64 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
66 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
67 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
69 error: `dyn` is a keyword in the 2018 edition
70 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:44:18
72 LL | macro_rules! dyn {
73 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
75 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
76 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
78 error: `dyn` is a keyword in the 2018 edition
79 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:12
81 LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
82 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
84 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
85 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
87 error: `dyn` is a keyword in the 2018 edition
88 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:34
90 LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
91 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
93 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
94 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
96 error: `dyn` is a keyword in the 2018 edition
97 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:39
99 LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
100 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
102 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
103 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
105 error: `dyn` is a keyword in the 2018 edition
106 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:22
108 LL | ::outer_mod::dyn::dyn
109 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
111 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
112 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
114 error: `dyn` is a keyword in the 2018 edition
115 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:27
117 LL | ::outer_mod::dyn::dyn
118 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
120 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
121 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
123 error: `dyn` is a keyword in the 2018 edition
124 --> $DIR/dyn-2015-edition-keyword-ident-lint.rs:68:23
126 LL | pub fn boxed() -> dyn!(
127 | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
129 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
130 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
132 error: aborting due to 14 previous errors