rust/src/test/ui/parser/macro/macro-incomplete-parse.stderr

36 lines
1.1 KiB
Plaintext
Raw Normal View History

error: macro expansion ignores token `,` and any following
2019-05-31 20:50:04 +00:00
--> $DIR/macro-incomplete-parse.rs:5:9
|
2019-03-09 12:03:44 +00:00
LL | ,
| ^
...
2018-02-23 00:42:32 +00:00
LL | ignored_item!();
| ---------------- caused by the macro expansion here
|
= note: the usage of `ignored_item!` is likely invalid in item context
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
2019-05-31 20:50:04 +00:00
--> $DIR/macro-incomplete-parse.rs:10:14
|
2019-03-09 12:03:44 +00:00
LL | () => ( 1,
| ^ expected one of `.`, `;`, `?`, `}`, or an operator
2017-06-21 18:32:50 +00:00
...
2018-02-23 00:42:32 +00:00
LL | ignored_expr!();
2017-06-21 18:32:50 +00:00
| ---------------- in this macro invocation
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: macro expansion ignores token `,` and any following
2019-05-31 20:50:04 +00:00
--> $DIR/macro-incomplete-parse.rs:16:14
|
2019-03-09 12:03:44 +00:00
LL | () => ( 1, 2 )
| ^
...
2018-02-23 00:42:32 +00:00
LL | ignored_pat!() => (),
| -------------- caused by the macro expansion here
|
= note: the usage of `ignored_pat!` is likely invalid in pattern context
error: aborting due to 3 previous errors
2017-03-26 02:06:19 +00:00