1 error: `async` is a keyword in the 2018 edition
2 --> $DIR/async-ident.rs:17:4
4 LL | fn async() {} //~ ERROR async
5 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
7 note: lint level defined here
8 --> $DIR/async-ident.rs:12:9
10 LL | #![deny(rust_2018_idioms)]
12 = note: #[deny(async_idents)] implied by #[deny(rust_2018_idioms)]
14 error: `async` is a keyword in the 2018 edition
15 --> $DIR/async-ident.rs:21:7
17 LL | ($async:expr, async) => {};
18 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
20 error: `async` is a keyword in the 2018 edition
21 --> $DIR/async-ident.rs:21:19
23 LL | ($async:expr, async) => {};
24 | ^^^^^ help: you can use a raw identifier to stay compatible: `r#async`
26 error: aborting due to 3 previous errors