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