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