1 error: expected identifier, found keyword `async`
2 --> $DIR/edition-keywords-2018-2015-parsing.rs:16:13
4 LL | let mut async = 1;
5 | ^^^^^ expected identifier, found keyword
7 help: escape `async` to use it as an identifier
9 LL | let mut r#async = 1;
12 error: expected identifier, found keyword `async`
13 --> $DIR/edition-keywords-2018-2015-parsing.rs:26:13
16 | ^^^^^ expected identifier, found keyword
18 help: escape `async` to use it as an identifier
20 LL | module::r#async();
23 error: no rules expected the token `r#async`
24 --> $DIR/edition-keywords-2018-2015-parsing.rs:20:31
26 LL | r#async = consumes_async!(r#async);
27 | ^^^^^^^ no rules expected this token in macro call
29 note: while trying to match `async`
30 --> $DIR/auxiliary/edition-kw-macro-2015.rs:17:6
35 error: no rules expected the token `async`
36 --> $DIR/edition-keywords-2018-2015-parsing.rs:21:35
38 LL | r#async = consumes_async_raw!(async);
39 | ^^^^^ no rules expected this token in macro call
41 note: while trying to match `r#async`
42 --> $DIR/auxiliary/edition-kw-macro-2015.rs:22:6
47 error: macro expansion ends with an incomplete expression: expected one of `move`, `|`, or `||`
48 --> $DIR/auxiliary/edition-kw-macro-2015.rs:27:23
50 LL | ($i: ident) => ($i)
51 | ^ expected one of `move`, `|`, or `||`
53 ::: $DIR/edition-keywords-2018-2015-parsing.rs:24:8
55 LL | if passes_ident!(async) == 1 {}
56 | -------------------- in this macro invocation
58 error[E0308]: mismatched types
59 --> $DIR/edition-keywords-2018-2015-parsing.rs:29:33
61 LL | let _recovery_witness: () = 0;
62 | -- ^ expected `()`, found integer
64 | expected due to this
66 error: aborting due to 6 previous errors
68 For more information about this error, try `rustc --explain E0308`.