|
1 |
| -error: expected one of `!`, `(`, `+`, `,`, `::`, or `<`, found `<eof>` |
2 |
| - --> $DIR/offset-of-arg-count.rs:6:16 |
| 1 | +error: unexpected end of macro invocation |
| 2 | + --> $DIR/offset-of-arg-count.rs:6:34 |
3 | 3 | |
|
4 | 4 | LL | offset_of!(NotEnoughArguments);
|
5 |
| - | ^^^^^^^^^^^^^^^^^^ expected one of `!`, `(`, `+`, `,`, `::`, or `<` |
| 5 | + | ^ missing tokens in macro arguments |
| 6 | + | |
| 7 | +note: while trying to match `,` |
| 8 | + --> $SRC_DIR/core/src/mem/mod.rs:LL:COL |
6 | 9 |
|
7 |
| -error: expected 2 arguments |
8 |
| - --> $DIR/offset-of-arg-count.rs:7:5 |
| 10 | +error: unexpected end of macro invocation |
| 11 | + --> $DIR/offset-of-arg-count.rs:7:45 |
9 | 12 | |
|
10 | 13 | LL | offset_of!(NotEnoughArgumentsWithAComma, );
|
11 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + | ^ missing tokens in macro arguments |
| 15 | + | |
| 16 | +note: while trying to match meta-variable `$fields:tt` |
| 17 | + --> $SRC_DIR/core/src/mem/mod.rs:LL:COL |
12 | 18 |
|
13 |
| -error: expected 2 arguments |
14 |
| - --> $DIR/offset-of-arg-count.rs:8:5 |
| 19 | +error: no rules expected the token `too` |
| 20 | + --> $DIR/offset-of-arg-count.rs:8:34 |
15 | 21 | |
|
16 | 22 | LL | offset_of!(Container, field, too many arguments);
|
17 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 23 | + | ^^^ no rules expected this token in macro call |
| 24 | + | |
| 25 | + = note: while trying to match sequence end |
| 26 | + |
| 27 | +error: unexpected end of macro invocation |
| 28 | + --> $DIR/offset-of-arg-count.rs:11:21 |
| 29 | + | |
| 30 | +LL | offset_of!(S, f.); |
| 31 | + | ^ missing tokens in macro arguments |
| 32 | + | |
| 33 | +note: while trying to match meta-variable `$fields:tt` |
| 34 | + --> $SRC_DIR/core/src/mem/mod.rs:LL:COL |
| 35 | + |
| 36 | +error: expected identifier, found `,` |
| 37 | + --> $DIR/offset-of-arg-count.rs:12:21 |
| 38 | + | |
| 39 | +LL | offset_of!(S, f.,); |
| 40 | + | ^ expected identifier |
| 41 | + |
| 42 | +error: no rules expected the token `..` |
| 43 | + --> $DIR/offset-of-arg-count.rs:13:20 |
| 44 | + | |
| 45 | +LL | offset_of!(S, f..); |
| 46 | + | ^^ no rules expected this token in macro call |
| 47 | + | |
| 48 | + = note: while trying to match sequence start |
| 49 | + |
| 50 | +error: no rules expected the token `..` |
| 51 | + --> $DIR/offset-of-arg-count.rs:14:20 |
| 52 | + | |
| 53 | +LL | offset_of!(S, f..,); |
| 54 | + | ^^ no rules expected this token in macro call |
| 55 | + | |
| 56 | + = note: while trying to match sequence start |
18 | 57 |
|
19 |
| -error: aborting due to 3 previous errors |
| 58 | +error: aborting due to 7 previous errors |
20 | 59 |
|
0 commit comments