]> git.lizzy.rs Git - rust.git/blob - src/test/ui/edition-keywords-2018-2015-parsing.stderr
Account for --remap-path-prefix in save-analysis
[rust.git] / src / test / ui / edition-keywords-2018-2015-parsing.stderr
1 error: expected identifier, found reserved keyword `async`
2   --> $DIR/edition-keywords-2018-2015-parsing.rs:20:13
3    |
4 LL |     let mut async = 1; //~ ERROR expected identifier, found reserved keyword `async`
5    |             ^^^^^ expected identifier, found reserved keyword
6
7 error: expected identifier, found reserved keyword `async`
8   --> $DIR/edition-keywords-2018-2015-parsing.rs:30:13
9    |
10 LL |     module::async(); //~ ERROR expected identifier, found reserved keyword `async`
11    |             ^^^^^ expected identifier, found reserved keyword
12
13 error: no rules expected the token `r#async`
14   --> $DIR/edition-keywords-2018-2015-parsing.rs:24:31
15    |
16 LL |     r#async = consumes_async!(r#async); //~ ERROR no rules expected the token `r#async`
17    |                               ^^^^^^^
18
19 error: no rules expected the token `async`
20   --> $DIR/edition-keywords-2018-2015-parsing.rs:25:35
21    |
22 LL |     r#async = consumes_async_raw!(async); //~ ERROR no rules expected the token `async`
23    |                                   ^^^^^
24
25 error: expected one of `move`, `|`, or `||`, found `<eof>`
26   --> <passes_ident macros>:1:22
27    |
28 LL | ( $ i : ident ) => ( $ i )
29    |                      ^^^ expected one of `move`, `|`, or `||` here
30
31 error: aborting due to 5 previous errors
32