]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/await-keyword/2015-edition-error-various-positions.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / async-await / await-keyword / 2015-edition-error-various-positions.stderr
index 50a82c08c3f85372f63346942f8fd02c7dbb82d3..d99967eb23ca6b0fccd30eb60ee6e19a8fa85e67 100644 (file)
@@ -4,13 +4,13 @@ error: `await` is a keyword in the 2018 edition
 LL |     pub mod await {
    |             ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`
    |
+   = 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/2015-edition-error-various-positions.rs:2:9
    |
 LL | #![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: `await` is a keyword in the 2018 edition
   --> $DIR/2015-edition-error-various-positions.rs:7:20