File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ error: `dyn` is a keyword in the 2018 edition
4
4
17 | let dyn = (); //~ ERROR dyn
5
5
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
6
6
|
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>
7
9
note: the lint level is defined here
8
10
--> $DIR/dyn-keyword.rs:14:9
9
11
|
10
12
14 | #![deny(keyword_idents)]
11
13
| ^^^^^^^^^^^^^^
12
- = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
13
- = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
14
14
15
15
error: aborting due to previous error
16
16
You can’t perform that action at this time.
0 commit comments