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