2018-08-06 22:54:51 -05:00
|
|
|
error: expected token: `,`
|
2018-08-08 00:28:09 -05:00
|
|
|
--> $DIR/missing-comma.rs:20:19
|
2018-07-15 01:50:08 -05:00
|
|
|
|
|
|
|
|
LL | println!("{}" a);
|
2018-08-06 22:54:51 -05:00
|
|
|
| ^
|
2018-07-15 01:50:08 -05:00
|
|
|
|
2018-08-06 22:54:51 -05:00
|
|
|
error: no rules expected the token `b`
|
2018-08-08 00:28:09 -05:00
|
|
|
--> $DIR/missing-comma.rs:22:12
|
2018-08-06 22:54:51 -05:00
|
|
|
|
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | macro_rules! foo {
|
|
|
|
| ---------------- when calling this macro
|
2018-10-23 19:18:14 -05:00
|
|
|
...
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | foo!(a b);
|
|
|
|
| -^ no rules expected the token `b`
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
2018-08-06 22:54:51 -05:00
|
|
|
|
2018-08-08 00:28:09 -05:00
|
|
|
error: no rules expected the token `e`
|
|
|
|
--> $DIR/missing-comma.rs:24:21
|
|
|
|
|
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | macro_rules! foo {
|
|
|
|
| ---------------- when calling this macro
|
2018-10-23 19:18:14 -05:00
|
|
|
...
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | foo!(a, b, c, d e);
|
|
|
|
| -^ no rules expected the token `e`
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
2018-08-08 00:28:09 -05:00
|
|
|
|
|
|
|
error: no rules expected the token `d`
|
|
|
|
--> $DIR/missing-comma.rs:26:18
|
|
|
|
|
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | macro_rules! foo {
|
|
|
|
| ---------------- when calling this macro
|
2018-10-23 19:18:14 -05:00
|
|
|
...
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | foo!(a, b, c d, e);
|
|
|
|
| -^ no rules expected the token `d`
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
2018-08-08 00:28:09 -05:00
|
|
|
|
|
|
|
error: no rules expected the token `d`
|
|
|
|
--> $DIR/missing-comma.rs:28:18
|
|
|
|
|
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | macro_rules! foo {
|
|
|
|
| ---------------- when calling this macro
|
2018-10-23 19:18:14 -05:00
|
|
|
...
|
2018-10-24 13:34:23 -05:00
|
|
|
LL | foo!(a, b, c d e);
|
|
|
|
| ^ no rules expected the token `d`
|
2018-08-08 00:28:09 -05:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-07-15 01:50:08 -05:00
|
|
|
|