fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: expected identifier, found keyword `async` 2 --> $DIR/edition-keywords-2018-2018-parsing.rs:16:13 3 | 4LL | let mut async = 1; 5 | ^^^^^ expected identifier, found keyword 6 | 7help: you can escape reserved keywords to use them as identifiers 8 | 9LL | let mut r#async = 1; 10 | ^^^^^^^ 11 12error: expected identifier, found keyword `async` 13 --> $DIR/edition-keywords-2018-2018-parsing.rs:26:13 14 | 15LL | module::async(); 16 | ^^^^^ expected identifier, found keyword 17 | 18help: you can escape reserved keywords to use them as identifiers 19 | 20LL | module::r#async(); 21 | ^^^^^^^ 22 23error: no rules expected the token `r#async` 24 --> $DIR/edition-keywords-2018-2018-parsing.rs:20:31 25 | 26LL | r#async = consumes_async!(r#async); 27 | ^^^^^^^ no rules expected this token in macro call 28 29error: no rules expected the token `async` 30 --> $DIR/edition-keywords-2018-2018-parsing.rs:21:35 31 | 32LL | r#async = consumes_async_raw!(async); 33 | ^^^^^ no rules expected this token in macro call 34 35error: macro expansion ends with an incomplete expression: expected one of `move`, `|`, or `||` 36 --> $DIR/auxiliary/edition-kw-macro-2018.rs:27:23 37 | 38LL | ($i: ident) => ($i) 39 | ^ expected one of `move`, `|`, or `||` 40 | 41 ::: $DIR/edition-keywords-2018-2018-parsing.rs:24:8 42 | 43LL | if passes_ident!(async) == 1 {} 44 | -------------------- in this macro invocation 45 46error[E0308]: mismatched types 47 --> $DIR/edition-keywords-2018-2018-parsing.rs:29:33 48 | 49LL | let _recovery_witness: () = 0; 50 | -- ^ expected `()`, found integer 51 | | 52 | expected due to this 53 54error: aborting due to 6 previous errors 55 56For more information about this error, try `rustc --explain E0308`.