1 error: `async` is a keyword in the 2018 edition
2 --> $DIR/async-ident.rs:7:4
5 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
7 note: lint level defined here
8 --> $DIR/async-ident.rs:2:9
10 LL | #![deny(keyword_idents)]
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>
15 error: `async` is a keyword in the 2018 edition
16 --> $DIR/async-ident.rs:12:7
18 LL | ($async:expr, async) => {};
19 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
24 error: `async` is a keyword in the 2018 edition
25 --> $DIR/async-ident.rs:12:19
27 LL | ($async:expr, async) => {};
28 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
33 error: `async` is a keyword in the 2018 edition
34 --> $DIR/async-ident.rs:19:6
37 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
42 error: `async` is a keyword in the 2018 edition
43 --> $DIR/async-ident.rs:28:11
46 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
51 error: `async` is a keyword in the 2018 edition
52 --> $DIR/async-ident.rs:32:10
54 LL | impl async for MyStruct {}
55 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
60 error: `async` is a keyword in the 2018 edition
61 --> $DIR/async-ident.rs:38:12
63 LL | static async: u32 = 0;
64 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
69 error: `async` is a keyword in the 2018 edition
70 --> $DIR/async-ident.rs:44:11
72 LL | const async: u32 = 0;
73 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
78 error: `async` is a keyword in the 2018 edition
79 --> $DIR/async-ident.rs:50:15
81 LL | impl Foo { fn async() {} }
82 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
87 error: `async` is a keyword in the 2018 edition
88 --> $DIR/async-ident.rs:55:12
91 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
96 error: `async` is a keyword in the 2018 edition
97 --> $DIR/async-ident.rs:58:9
99 LL | let async: async = async {};
100 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
105 error: `async` is a keyword in the 2018 edition
106 --> $DIR/async-ident.rs:58:16
108 LL | let async: async = async {};
109 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
114 error: `async` is a keyword in the 2018 edition
115 --> $DIR/async-ident.rs:58:24
117 LL | let async: async = async {};
118 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
123 error: `async` is a keyword in the 2018 edition
124 --> $DIR/async-ident.rs:69:19
126 LL | () => (pub fn async() {})
127 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
132 error: `async` is a keyword in the 2018 edition
133 --> $DIR/async-ident.rs:76:6
136 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
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>
141 error: aborting due to 15 previous errors