Skip to content

Commit 6a3664b

Browse files
committed
Some warnings moved around
1 parent 6bcae19 commit 6a3664b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-project/tests/ui/dyn-keyword.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ error: `dyn` is a keyword in the 2018 edition
44
17 | let dyn = (); //~ ERROR dyn
55
| ^^^ help: you can use a raw identifier to stay compatible: `r#dyn`
66
|
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>
79
note: the lint level is defined here
810
--> $DIR/dyn-keyword.rs:14:9
911
|
1012
14 | #![deny(keyword_idents)]
1113
| ^^^^^^^^^^^^^^
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>
1414

1515
error: aborting due to previous error
1616

0 commit comments

Comments
 (0)