11error: 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
33 |
44LL | ($(a),?) => {};
55 | ^
66
77error: 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
99 |
1010LL | macro_rules! foo {
1111 | ---------------- when calling this macro
@@ -14,7 +14,7 @@ LL | foo!(a?);
1414 | ^ no rules expected this token in macro call
1515
1616error: 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
1818 |
1919LL | macro_rules! foo {
2020 | ---------------- when calling this macro
@@ -23,7 +23,7 @@ LL | foo!(a?a);
2323 | ^ no rules expected this token in macro call
2424
2525error: 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
2727 |
2828LL | macro_rules! foo {
2929 | ---------------- when calling this macro
@@ -32,7 +32,7 @@ LL | foo!(a?a?a);
3232 | ^ no rules expected this token in macro call
3333
3434error: 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
3636 |
3737LL | macro_rules! barplus {
3838 | -------------------- when calling this macro
@@ -41,7 +41,7 @@ LL | barplus!();
4141 | ^^^^^^^^^^^ missing tokens in macro arguments
4242
4343error: 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
4545 |
4646LL | macro_rules! barplus {
4747 | -------------------- when calling this macro
@@ -50,7 +50,7 @@ LL | barplus!(a);
5050 | ^ missing tokens in macro arguments
5151
5252error: 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
5454 |
5555LL | macro_rules! barplus {
5656 | -------------------- when calling this macro
@@ -59,7 +59,7 @@ LL | barplus!(a?);
5959 | ^ no rules expected this token in macro call
6060
6161error: 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
6363 |
6464LL | macro_rules! barplus {
6565 | -------------------- when calling this macro
@@ -68,7 +68,7 @@ LL | barplus!(a?a);
6868 | ^ no rules expected this token in macro call
6969
7070error: 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
7272 |
7373LL | macro_rules! barstar {
7474 | -------------------- when calling this macro
@@ -77,7 +77,7 @@ LL | barstar!();
7777 | ^^^^^^^^^^^ missing tokens in macro arguments
7878
7979error: 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
8181 |
8282LL | macro_rules! barstar {
8383 | -------------------- when calling this macro
@@ -86,7 +86,7 @@ LL | barstar!(a);
8686 | ^ missing tokens in macro arguments
8787
8888error: 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
9090 |
9191LL | macro_rules! barstar {
9292 | -------------------- when calling this macro
@@ -95,7 +95,7 @@ LL | barstar!(a?);
9595 | ^ no rules expected this token in macro call
9696
9797error: 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
9999 |
100100LL | macro_rules! barstar {
101101 | -------------------- when calling this macro
0 commit comments