diff --git a/test-project/tests/ui/dyn-keyword.stderr b/test-project/tests/ui/dyn-keyword.stderr index 9546e42..2533a77 100644 --- a/test-project/tests/ui/dyn-keyword.stderr +++ b/test-project/tests/ui/dyn-keyword.stderr @@ -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 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 error: aborting due to previous error