|
| 1 | +error: `await` is a keyword in the 2018 edition |
| 2 | + --> $DIR/2015-edition-warning.rs:7:13 |
| 3 | + | |
| 4 | +LL | pub mod await { |
| 5 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 6 | + | |
| 7 | +note: lint level defined here |
| 8 | + --> $DIR/2015-edition-warning.rs:4:9 |
| 9 | + | |
| 10 | +LL | #![deny(keyword_idents)] |
| 11 | + | ^^^^^^^^^^^^^^ |
| 12 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 13 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 14 | + |
| 15 | +error: `await` is a keyword in the 2018 edition |
| 16 | + --> $DIR/2015-edition-warning.rs:8:20 |
| 17 | + | |
| 18 | +LL | pub struct await; |
| 19 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 20 | + | |
| 21 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 22 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 23 | + |
| 24 | +error: `await` is a keyword in the 2018 edition |
| 25 | + --> $DIR/2015-edition-warning.rs:11:16 |
| 26 | + | |
| 27 | +LL | use outer_mod::await::await; |
| 28 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 29 | + | |
| 30 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 31 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 32 | + |
| 33 | +error: `await` is a keyword in the 2018 edition |
| 34 | + --> $DIR/2015-edition-warning.rs:11:23 |
| 35 | + | |
| 36 | +LL | use outer_mod::await::await; |
| 37 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 38 | + | |
| 39 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 40 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 41 | + |
| 42 | +error: `await` is a keyword in the 2018 edition |
| 43 | + --> $DIR/2015-edition-warning.rs:14:11 |
| 44 | + | |
| 45 | +LL | match await { await => {} } |
| 46 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 47 | + | |
| 48 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 49 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 50 | + |
| 51 | +error: `await` is a keyword in the 2018 edition |
| 52 | + --> $DIR/2015-edition-warning.rs:14:19 |
| 53 | + | |
| 54 | +LL | match await { await => {} } |
| 55 | + | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` |
| 56 | + | |
| 57 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! |
| 58 | + = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> |
| 59 | + |
| 60 | +error: aborting due to 6 previous errors |
| 61 | + |
0 commit comments