Skip to content

Commit

Permalink
Some warnings moved around
Browse files Browse the repository at this point in the history
  • Loading branch information
Munksgaard committed Oct 7, 2022
1 parent 6bcae19 commit 6a3664b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-project/tests/ui/dyn-keyword.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ error: `dyn` is a keyword in the 2018 edition
17 | let dyn = (); //~ ERROR 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-keyword.rs:14:9
|
14 | #![deny(keyword_idents)]
| ^^^^^^^^^^^^^^
= 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 previous error

0 comments on commit 6a3664b

Please sign in to comment.