2017-03-25 17:36:59 -05:00
|
|
|
error: macro expansion ignores token `,` and any following
|
|
|
|
--> $DIR/macro-incomplete-parse.rs:17:9
|
|
|
|
|
|
|
|
|
17 | , //~ ERROR macro expansion ignores token `,`
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: caused by the macro expansion here; the usage of `ignored_item!` is likely invalid in item context
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:31:1
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
31 | ignored_item!();
|
2017-03-25 17:36:59 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
|
|
|
|
--> $DIR/macro-incomplete-parse.rs:22:14
|
|
|
|
|
|
|
|
|
22 | () => ( 1, //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
|
|
|
|
| ^ expected one of `.`, `;`, `?`, `}`, or an operator here
|
2017-06-21 13:32:50 -05:00
|
|
|
...
|
2017-12-10 14:29:24 -06:00
|
|
|
34 | 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
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:28:14
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
28 | () => ( 1, 2 ) //~ ERROR macro expansion ignores token `,`
|
2017-03-25 17:36:59 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: caused by the macro expansion here; the usage of `ignored_pat!` is likely invalid in pattern context
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/macro-incomplete-parse.rs:36:9
|
2017-03-25 17:36:59 -05:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
36 | ignored_pat!() => (),
|
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
|
|
|
|