2017-03-25 17:36:59 -05:00
|
|
|
error: macro expansion ignores token `,` and any following
|
2019-05-31 15:50:04 -05:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:5:9
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | ,
|
2017-03-25 17:36:59 -05:00
|
|
|
| ^
|
2018-10-23 12:07:34 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | ignored_item!();
|
2018-10-23 12:07:34 -05:00
|
|
|
| ---------------- caused by the macro expansion here
|
|
|
|
|
|
|
|
|
= note: the usage of `ignored_item!` is likely invalid in item context
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
|
2019-05-31 15:50:04 -05:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:10:14
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | () => ( 1,
|
2017-03-25 17:36:59 -05:00
|
|
|
| ^ 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
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
|
|
error: macro expansion ignores token `,` and any following
|
2019-05-31 15:50:04 -05:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:16:14
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | () => ( 1, 2 )
|
2017-03-25 17:36:59 -05:00
|
|
|
| ^
|
2018-10-23 12:07:34 -05:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | ignored_pat!() => (),
|
2018-10-23 12:07:34 -05:00
|
|
|
| -------------- caused by the macro expansion here
|
|
|
|
|
|
|
|
|
= note: the usage of `ignored_pat!` is likely invalid in pattern context
|
2017-03-25 17:36:59 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-03-25 21:06:19 -05:00
|
|
|
|