mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
134 lines
6.2 KiB
Plaintext
134 lines
6.2 KiB
Plaintext
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:14:13
|
|
|
|
|
LL | pub mod dyn {
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
note: the lint level is defined here
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:11:9
|
|
|
|
|
LL | #![deny(keyword_idents)]
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:17:20
|
|
|
|
|
LL | pub struct dyn;
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:16
|
|
|
|
|
LL | use outer_mod::dyn::dyn;
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:22:21
|
|
|
|
|
LL | use outer_mod::dyn::dyn;
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:11
|
|
|
|
|
LL | match dyn { dyn => {} }
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:29:17
|
|
|
|
|
LL | match dyn { dyn => {} }
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:34:17
|
|
|
|
|
LL | macro_defn::dyn();
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:44:18
|
|
|
|
|
LL | macro_rules! dyn {
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:12
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:34
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:52:39
|
|
|
|
|
LL | pub fn dyn() -> ::outer_mod::dyn::dyn {
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:22
|
|
|
|
|
LL | ::outer_mod::dyn::dyn
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:59:27
|
|
|
|
|
LL | ::outer_mod::dyn::dyn
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: `dyn` is a keyword in the 2018 edition
|
|
--> $DIR/dyn-2015-edition-keyword-ident-lint.rs:68:23
|
|
|
|
|
LL | pub fn boxed() -> dyn!(
|
|
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
|
|
|
|
|
= 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>
|
|
|
|
error: aborting due to 14 previous errors
|
|
|