2019-03-27 11:13:51 -05:00
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:14:13
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub mod dyn {
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2022-09-18 10:55:36 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:11:9
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(keyword_idents)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:17:20
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub struct dyn;
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:16
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | use outer_mod::dyn::dyn;
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:21
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | use outer_mod::dyn::dyn;
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:11
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | match dyn { dyn => {} }
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:17
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | match dyn { dyn => {} }
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:34:17
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | macro_defn::dyn();
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:44:18
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | macro_rules! dyn {
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:12
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:34
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:39
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:22
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | ::outer_mod::dyn::dyn
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:27
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | ::outer_mod::dyn::dyn
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
2021-06-22 00:03:50 -05:00
|
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:68:23
|
2019-03-27 11:13:51 -05:00
|
|
|
|
|
|
|
|
LL | pub fn boxed() -> dyn!(
|
|
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
|
2021-06-16 07:27:44 -05:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2019-03-27 11:13:51 -05:00
|
|
|
= note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
|
|
|
|
|
|
|
|
error: aborting due to 14 previous errors
|
|
|
|
|