]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/assert-trailing-junk.stderr
3f7d8dcaf790ca5ab89e3828f1dda248f0484423
[rust.git] / src / test / ui / macros / assert-trailing-junk.stderr
1 error: expected one of `,`, `.`, `?`, or an operator, found `some`
2   --> $DIR/assert-trailing-junk.rs:6:18
3    |
4 LL |     assert!(true some extra junk, "whatever");
5    |                  ^^^^ expected one of `,`, `.`, `?`, or an operator here
6
7 error: expected one of `,`, `.`, `?`, or an operator, found `some`
8   --> $DIR/assert-trailing-junk.rs:9:18
9    |
10 LL |     assert!(true some extra junk);
11    |                  ^^^^ expected one of `,`, `.`, `?`, or an operator here
12
13 error: no rules expected the token `blah`
14   --> $DIR/assert-trailing-junk.rs:12:30
15    |
16 LL |     assert!(true, "whatever" blah);
17    |                             -^^^^ no rules expected this token in macro call
18    |                             |
19    |                             help: missing comma here
20
21 error: aborting due to 3 previous errors
22