fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: `async` is a keyword in the 2018 edition 2 --> $DIR/async-ident.rs:7:4 3 | 4LL | fn async() {} 5 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 6 | 7note: lint level defined here 8 --> $DIR/async-ident.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: `async` is a keyword in the 2018 edition 16 --> $DIR/async-ident.rs:12:7 17 | 18LL | ($async:expr, async) => {}; 19 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 25 --> $DIR/async-ident.rs:12:19 26 | 27LL | ($async:expr, async) => {}; 28 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 34 --> $DIR/async-ident.rs:19:6 35 | 36LL | foo!(async); 37 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 43 --> $DIR/async-ident.rs:28:11 44 | 45LL | trait async {} 46 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 52 --> $DIR/async-ident.rs:32:10 53 | 54LL | impl async for MyStruct {} 55 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 61 --> $DIR/async-ident.rs:38:12 62 | 63LL | static async: u32 = 0; 64 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 70 --> $DIR/async-ident.rs:44:11 71 | 72LL | const async: u32 = 0; 73 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 79 --> $DIR/async-ident.rs:50:15 80 | 81LL | impl Foo { fn async() {} } 82 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 88 --> $DIR/async-ident.rs:55:12 89 | 90LL | struct async {} 91 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 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: `async` is a keyword in the 2018 edition 97 --> $DIR/async-ident.rs:58:9 98 | 99LL | let async: async = async {}; 100 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 101 | 102 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 103 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 104 105error: `async` is a keyword in the 2018 edition 106 --> $DIR/async-ident.rs:58:16 107 | 108LL | let async: async = async {}; 109 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 110 | 111 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 112 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 113 114error: `async` is a keyword in the 2018 edition 115 --> $DIR/async-ident.rs:58:24 116 | 117LL | let async: async = async {}; 118 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 119 | 120 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 121 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 122 123error: `async` is a keyword in the 2018 edition 124 --> $DIR/async-ident.rs:69:19 125 | 126LL | () => (pub fn async() {}) 127 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 128 | 129 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 130 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 131 132error: `async` is a keyword in the 2018 edition 133 --> $DIR/async-ident.rs:76:6 134 | 135LL | (async) => (1) 136 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async` 137 | 138 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! 139 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> 140 141error: aborting due to 15 previous errors 142