1
1
error: the `?` macro repetition operator does not take a separator
2
- --> $DIR/macro-at-most-once-rep-2015.rs:10 :10
2
+ --> $DIR/macro-at-most-once-rep-2015.rs:11 :10
3
3
|
4
4
LL | ($(a),?) => {};
5
5
| ^
6
6
7
7
error: no rules expected the token `?`
8
- --> $DIR/macro-at-most-once-rep-2015.rs:24 :11
8
+ --> $DIR/macro-at-most-once-rep-2015.rs:25 :11
9
9
|
10
10
LL | macro_rules! foo {
11
11
| ---------------- when calling this macro
@@ -14,7 +14,7 @@ LL | foo!(a?);
14
14
| ^ no rules expected this token in macro call
15
15
16
16
error: no rules expected the token `?`
17
- --> $DIR/macro-at-most-once-rep-2015.rs:25 :11
17
+ --> $DIR/macro-at-most-once-rep-2015.rs:26 :11
18
18
|
19
19
LL | macro_rules! foo {
20
20
| ---------------- when calling this macro
@@ -23,7 +23,7 @@ LL | foo!(a?a);
23
23
| ^ no rules expected this token in macro call
24
24
25
25
error: no rules expected the token `?`
26
- --> $DIR/macro-at-most-once-rep-2015.rs:26 :11
26
+ --> $DIR/macro-at-most-once-rep-2015.rs:27 :11
27
27
|
28
28
LL | macro_rules! foo {
29
29
| ---------------- when calling this macro
@@ -32,7 +32,7 @@ LL | foo!(a?a?a);
32
32
| ^ no rules expected this token in macro call
33
33
34
34
error: unexpected end of macro invocation
35
- --> $DIR/macro-at-most-once-rep-2015.rs:28 :5
35
+ --> $DIR/macro-at-most-once-rep-2015.rs:29 :5
36
36
|
37
37
LL | macro_rules! barplus {
38
38
| -------------------- when calling this macro
@@ -41,7 +41,7 @@ LL | barplus!();
41
41
| ^^^^^^^^^^^ missing tokens in macro arguments
42
42
43
43
error: unexpected end of macro invocation
44
- --> $DIR/macro-at-most-once-rep-2015.rs:29 :15
44
+ --> $DIR/macro-at-most-once-rep-2015.rs:30 :15
45
45
|
46
46
LL | macro_rules! barplus {
47
47
| -------------------- when calling this macro
@@ -50,7 +50,7 @@ LL | barplus!(a);
50
50
| ^ missing tokens in macro arguments
51
51
52
52
error: no rules expected the token `?`
53
- --> $DIR/macro-at-most-once-rep-2015.rs:30 :15
53
+ --> $DIR/macro-at-most-once-rep-2015.rs:31 :15
54
54
|
55
55
LL | macro_rules! barplus {
56
56
| -------------------- when calling this macro
@@ -59,7 +59,7 @@ LL | barplus!(a?);
59
59
| ^ no rules expected this token in macro call
60
60
61
61
error: no rules expected the token `?`
62
- --> $DIR/macro-at-most-once-rep-2015.rs:31 :15
62
+ --> $DIR/macro-at-most-once-rep-2015.rs:32 :15
63
63
|
64
64
LL | macro_rules! barplus {
65
65
| -------------------- when calling this macro
@@ -68,7 +68,7 @@ LL | barplus!(a?a);
68
68
| ^ no rules expected this token in macro call
69
69
70
70
error: unexpected end of macro invocation
71
- --> $DIR/macro-at-most-once-rep-2015.rs:35 :5
71
+ --> $DIR/macro-at-most-once-rep-2015.rs:36 :5
72
72
|
73
73
LL | macro_rules! barstar {
74
74
| -------------------- when calling this macro
@@ -77,7 +77,7 @@ LL | barstar!();
77
77
| ^^^^^^^^^^^ missing tokens in macro arguments
78
78
79
79
error: unexpected end of macro invocation
80
- --> $DIR/macro-at-most-once-rep-2015.rs:36 :15
80
+ --> $DIR/macro-at-most-once-rep-2015.rs:37 :15
81
81
|
82
82
LL | macro_rules! barstar {
83
83
| -------------------- when calling this macro
@@ -86,7 +86,7 @@ LL | barstar!(a);
86
86
| ^ missing tokens in macro arguments
87
87
88
88
error: no rules expected the token `?`
89
- --> $DIR/macro-at-most-once-rep-2015.rs:37 :15
89
+ --> $DIR/macro-at-most-once-rep-2015.rs:38 :15
90
90
|
91
91
LL | macro_rules! barstar {
92
92
| -------------------- when calling this macro
@@ -95,7 +95,7 @@ LL | barstar!(a?);
95
95
| ^ no rules expected this token in macro call
96
96
97
97
error: no rules expected the token `?`
98
- --> $DIR/macro-at-most-once-rep-2015.rs:38 :15
98
+ --> $DIR/macro-at-most-once-rep-2015.rs:39 :15
99
99
|
100
100
LL | macro_rules! barstar {
101
101
| -------------------- when calling this macro
0 commit comments