dd2b027d5d
Much like the previous commit. I think the removal of "the token" in each message is fine here. There are many more error messages that mention tokens without saying "the token" than those that do say it.
27 lines
778 B
Plaintext
27 lines
778 B
Plaintext
error: no rules expected `r#async`
|
|
--> $DIR/edition-keywords-2015-2018-parsing.rs:16:31
|
|
|
|
|
LL | r#async = consumes_async!(r#async);
|
|
| ^^^^^^^ no rules expected this token in macro call
|
|
|
|
|
note: while trying to match `async`
|
|
--> $DIR/auxiliary/edition-kw-macro-2018.rs:17:6
|
|
|
|
|
LL | (async) => (1)
|
|
| ^^^^^
|
|
|
|
error: no rules expected `async`
|
|
--> $DIR/edition-keywords-2015-2018-parsing.rs:17:35
|
|
|
|
|
LL | r#async = consumes_async_raw!(async);
|
|
| ^^^^^ no rules expected this token in macro call
|
|
|
|
|
note: while trying to match `r#async`
|
|
--> $DIR/auxiliary/edition-kw-macro-2018.rs:22:6
|
|
|
|
|
LL | (r#async) => (1)
|
|
| ^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|