We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcae19 commit 6a3664bCopy full SHA for 6a3664b
test-project/tests/ui/dyn-keyword.stderr
@@ -4,13 +4,13 @@ error: `dyn` is a keyword in the 2018 edition
4
17 | let dyn = (); //~ ERROR dyn
5
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
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>
9
note: the lint level is defined here
10
--> $DIR/dyn-keyword.rs:14:9
11
12
14 | #![deny(keyword_idents)]
13
| ^^^^^^^^^^^^^^
- = 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>
14
15
error: aborting due to previous error
16
0 commit comments