2018-04-23 17:50:28 -05:00
|
|
|
error: expected identifier, found reserved keyword `async`
|
2018-08-02 13:33:24 -05:00
|
|
|
--> $DIR/edition-keywords-2018-2015-parsing.rs:18:13
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
|
LL | let mut async = 1; //~ ERROR expected identifier, found reserved keyword `async`
|
|
|
|
| ^^^^^ expected identifier, found reserved keyword
|
|
|
|
|
|
|
|
error: expected identifier, found reserved keyword `async`
|
2018-08-02 13:33:24 -05:00
|
|
|
--> $DIR/edition-keywords-2018-2015-parsing.rs:28:13
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
|
LL | module::async(); //~ ERROR expected identifier, found reserved keyword `async`
|
|
|
|
| ^^^^^ expected identifier, found reserved keyword
|
|
|
|
|
|
|
|
error: no rules expected the token `r#async`
|
2018-08-02 13:33:24 -05:00
|
|
|
--> $DIR/edition-keywords-2018-2015-parsing.rs:22:31
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
|
LL | r#async = consumes_async!(r#async); //~ ERROR no rules expected the token `r#async`
|
2018-11-04 16:01:38 -06:00
|
|
|
| ^^^^^^^ no rules expected this token in macro call
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
error: no rules expected the token `async`
|
2018-08-02 13:33:24 -05:00
|
|
|
--> $DIR/edition-keywords-2018-2015-parsing.rs:23:35
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
|
LL | r#async = consumes_async_raw!(async); //~ ERROR no rules expected the token `async`
|
2018-11-04 16:01:38 -06:00
|
|
|
| ^^^^^ no rules expected this token in macro call
|
2018-04-23 17:50:28 -05:00
|
|
|
|
2018-10-25 12:09:19 -05:00
|
|
|
error: expected one of `move`, `|`, or `||`, found the end of the macro arm
|
|
|
|
--> <::edition_kw_macro_2015::passes_ident macros>:1:25
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
2018-06-06 17:50:59 -05:00
|
|
|
LL | ( $ i : ident ) => ( $ i )
|
2018-10-25 12:09:19 -05:00
|
|
|
| ^
|
2018-04-23 17:50:28 -05:00
|
|
|
|
2018-05-13 08:35:52 -05:00
|
|
|
error: aborting due to 5 previous errors
|
2018-04-23 17:50:28 -05:00
|
|
|
|