edition-keywords-2018-2015-parsing.stderr 1.3 KB
Newer Older
V
Vadim Petrochenkov 已提交
1
error: expected identifier, found reserved keyword `async`
V
varkor 已提交
2
  --> $DIR/edition-keywords-2018-2015-parsing.rs:18:13
V
Vadim Petrochenkov 已提交
3 4 5 6 7
   |
LL |     let mut async = 1; //~ ERROR expected identifier, found reserved keyword `async`
   |             ^^^^^ expected identifier, found reserved keyword

error: expected identifier, found reserved keyword `async`
V
varkor 已提交
8
  --> $DIR/edition-keywords-2018-2015-parsing.rs:28:13
V
Vadim Petrochenkov 已提交
9 10 11 12 13
   |
LL |     module::async(); //~ ERROR expected identifier, found reserved keyword `async`
   |             ^^^^^ expected identifier, found reserved keyword

error: no rules expected the token `r#async`
V
varkor 已提交
14
  --> $DIR/edition-keywords-2018-2015-parsing.rs:22:31
V
Vadim Petrochenkov 已提交
15 16
   |
LL |     r#async = consumes_async!(r#async); //~ ERROR no rules expected the token `r#async`
17
   |                               ^^^^^^^ no rules expected the token `r#async`
V
Vadim Petrochenkov 已提交
18 19

error: no rules expected the token `async`
V
varkor 已提交
20
  --> $DIR/edition-keywords-2018-2015-parsing.rs:23:35
V
Vadim Petrochenkov 已提交
21 22
   |
LL |     r#async = consumes_async_raw!(async); //~ ERROR no rules expected the token `async`
23
   |                                   ^^^^^ no rules expected the token `async`
V
Vadim Petrochenkov 已提交
24

T
Taylor Cramer 已提交
25
error: expected one of `move`, `|`, or `||`, found `<eof>`
26
  --> <::edition_kw_macro_2015::passes_ident macros>:1:22
V
Vadim Petrochenkov 已提交
27
   |
T
Taylor Cramer 已提交
28 29
LL | ( $ i : ident ) => ( $ i )
   |                      ^^^ expected one of `move`, `|`, or `||` here
V
Vadim Petrochenkov 已提交
30

31
error: aborting due to 5 previous errors
V
Vadim Petrochenkov 已提交
32