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

34 lines
970 B
Plaintext
Raw Normal View History

error: macro expansion ignores token `,` and any following
2018-12-25 09:56:47 -06:00
--> $DIR/macro-incomplete-parse.rs:7:9
|
2019-03-09 06:03:44 -06:00
LL | ,
| ^
...
2018-02-22 18:42:32 -06: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 `,`
2018-12-25 09:56:47 -06:00
--> $DIR/macro-incomplete-parse.rs:12:14
|
2019-03-09 06:03:44 -06:00
LL | () => ( 1,
| ^ expected one of `.`, `;`, `?`, `}`, or an operator here
2017-06-21 13:32:50 -05:00
...
2018-02-22 18:42:32 -06:00
LL | ignored_expr!();
2017-06-21 13:32:50 -05:00
| ---------------- in this macro invocation
error: macro expansion ignores token `,` and any following
2018-12-25 09:56:47 -06:00
--> $DIR/macro-incomplete-parse.rs:18:14
|
2019-03-09 06:03:44 -06:00
LL | () => ( 1, 2 )
| ^
...
2018-02-22 18:42:32 -06: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-25 21:06:19 -05:00