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

34 lines
1.1 KiB
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
|
2018-02-22 18:42:32 -06:00
LL | , //~ ERROR macro expansion ignores token `,`
| ^
...
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
|
2018-02-22 18:42:32 -06:00
LL | () => ( 1, //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
| ^ 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
|
2018-02-22 18:42:32 -06:00
LL | () => ( 1, 2 ) //~ ERROR macro expansion ignores token `,`
| ^
...
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