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
|
|
|
|
|
|
|
|
LL | foo!(a b);
|
|
|
|
| -^
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
|
|
|
|
2018-08-08 00:28:09 -05:00
|
|
|
error: no rules expected the token `e`
|
|
|
|
--> $DIR/missing-comma.rs:24:21
|
|
|
|
|
|
|
|
|
LL | foo!(a, b, c, d e);
|
|
|
|
| -^
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
|
|
|
|
|
|
|
error: no rules expected the token `d`
|
|
|
|
--> $DIR/missing-comma.rs:26:18
|
|
|
|
|
|
|
|
|
LL | foo!(a, b, c d, e);
|
|
|
|
| -^
|
|
|
|
| |
|
|
|
|
| help: missing comma here
|
|
|
|
|
|
|
|
error: no rules expected the token `d`
|
|
|
|
--> $DIR/missing-comma.rs:28:18
|
|
|
|
|
|
|
|
|
LL | foo!(a, b, c d e);
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-07-15 01:50:08 -05:00
|
|
|
|