fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: `await` is a keyword in the 2018 edition 2 --> $DIR/2015-edition-error-various-positions.rs:5:13 3 | 4LL | pub mod await { 5 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` 6 | 7note: lint level defined here 8 --> $DIR/2015-edition-error-various-positions.rs:2:9 9 | 10LL | #![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 15error: `await` is a keyword in the 2018 edition 16 --> $DIR/2015-edition-error-various-positions.rs:7:20 17 | 18LL | 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 24error: `await` is a keyword in the 2018 edition 25 --> $DIR/2015-edition-error-various-positions.rs:11:16 26 | 27LL | 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 33error: `await` is a keyword in the 2018 edition 34 --> $DIR/2015-edition-error-various-positions.rs:11:23 35 | 36LL | 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 42error: `await` is a keyword in the 2018 edition 43 --> $DIR/2015-edition-error-various-positions.rs:16:14 44 | 45LL | struct Foo { 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 51error: `await` is a keyword in the 2018 edition 52 --> $DIR/2015-edition-error-various-positions.rs:20:15 53 | 54LL | impl Foo { fn 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 60error: `await` is a keyword in the 2018 edition 61 --> $DIR/2015-edition-error-various-positions.rs:24:14 62 | 63LL | macro_rules! await { 64 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` 65 | 66 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 67 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 68 69error: `await` is a keyword in the 2018 edition 70 --> $DIR/2015-edition-error-various-positions.rs:31:5 71 | 72LL | await!(); 73 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` 74 | 75 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 76 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 77 78error: `await` is a keyword in the 2018 edition 79 --> $DIR/2015-edition-error-various-positions.rs:34:11 80 | 81LL | match await { await => {} } 82 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` 83 | 84 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 85 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 86 87error: `await` is a keyword in the 2018 edition 88 --> $DIR/2015-edition-error-various-positions.rs:34:19 89 | 90LL | match await { await => {} } 91 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await` 92 | 93 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 94 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 95 96error: aborting due to 10 previous errors 97