11error: the `?` macro repetition operator does not take a separator
2- --> $DIR/macro-at-most-once-rep-2018.rs:22 :10
2+ --> $DIR/macro-at-most-once-rep-2018.rs:20 :10
33 |
44LL | ($(a),?) => {} //~ERROR the `?` macro repetition operator
55 | ^
66
77error: no rules expected the token `?`
8- --> $DIR/macro-at-most-once-rep-2018.rs:36 :11
8+ --> $DIR/macro-at-most-once-rep-2018.rs:34 :11
99 |
1010LL | macro_rules! foo {
1111 | ---------------- when calling this macro
@@ -14,7 +14,7 @@ LL | foo!(a?); //~ ERROR no rules expected the token `?`
1414 | ^ no rules expected this token in macro call
1515
1616error: no rules expected the token `?`
17- --> $DIR/macro-at-most-once-rep-2018.rs:37 :11
17+ --> $DIR/macro-at-most-once-rep-2018.rs:35 :11
1818 |
1919LL | macro_rules! foo {
2020 | ---------------- when calling this macro
@@ -23,7 +23,7 @@ LL | foo!(a?a); //~ ERROR no rules expected the token `?`
2323 | ^ no rules expected this token in macro call
2424
2525error: no rules expected the token `?`
26- --> $DIR/macro-at-most-once-rep-2018.rs:38 :11
26+ --> $DIR/macro-at-most-once-rep-2018.rs:36 :11
2727 |
2828LL | macro_rules! foo {
2929 | ---------------- when calling this macro
@@ -32,7 +32,7 @@ LL | foo!(a?a?a); //~ ERROR no rules expected the token `?`
3232 | ^ no rules expected this token in macro call
3333
3434error: unexpected end of macro invocation
35- --> $DIR/macro-at-most-once-rep-2018.rs:40 :5
35+ --> $DIR/macro-at-most-once-rep-2018.rs:38 :5
3636 |
3737LL | macro_rules! barplus {
3838 | -------------------- when calling this macro
@@ -50,7 +50,7 @@ LL | barplus!(a); //~ERROR unexpected end of macro invocation
5050 | ^ missing tokens in macro arguments
5151
5252error: no rules expected the token `?`
53- --> $DIR/macro-at-most-once-rep-2018.rs:42 :15
53+ --> $DIR/macro-at-most-once-rep-2018.rs:40 :15
5454 |
5555LL | macro_rules! barplus {
5656 | -------------------- when calling this macro
@@ -59,7 +59,7 @@ LL | barplus!(a?); //~ ERROR no rules expected the token `?`
5959 | ^ no rules expected this token in macro call
6060
6161error: no rules expected the token `?`
62- --> $DIR/macro-at-most-once-rep-2018.rs:43 :15
62+ --> $DIR/macro-at-most-once-rep-2018.rs:41 :15
6363 |
6464LL | macro_rules! barplus {
6565 | -------------------- when calling this macro
@@ -68,7 +68,7 @@ LL | barplus!(a?a); //~ ERROR no rules expected the token `?`
6868 | ^ no rules expected this token in macro call
6969
7070error: unexpected end of macro invocation
71- --> $DIR/macro-at-most-once-rep-2018.rs:47 :5
71+ --> $DIR/macro-at-most-once-rep-2018.rs:45 :5
7272 |
7373LL | macro_rules! barstar {
7474 | -------------------- when calling this macro
@@ -77,7 +77,7 @@ LL | barstar!(); //~ERROR unexpected end of macro invocation
7777 | ^^^^^^^^^^^ missing tokens in macro arguments
7878
7979error: unexpected end of macro invocation
80- --> $DIR/macro-at-most-once-rep-2018.rs:48:15
80+ --> $DIR/macro-at-most-once-rep-2018.rs:46:14
8181 |
8282LL | macro_rules! barstar {
8383 | -------------------- when calling this macro
@@ -86,7 +86,7 @@ LL | barstar!(a); //~ERROR unexpected end of macro invocation
8686 | ^ missing tokens in macro arguments
8787
8888error: no rules expected the token `?`
89- --> $DIR/macro-at-most-once-rep-2018.rs:49 :15
89+ --> $DIR/macro-at-most-once-rep-2018.rs:47 :15
9090 |
9191LL | macro_rules! barstar {
9292 | -------------------- when calling this macro
@@ -95,7 +95,7 @@ LL | barstar!(a?); //~ ERROR no rules expected the token `?`
9595 | ^ no rules expected this token in macro call
9696
9797error: no rules expected the token `?`
98- --> $DIR/macro-at-most-once-rep-2018.rs:50 :15
98+ --> $DIR/macro-at-most-once-rep-2018.rs:48 :15
9999 |
100100LL | macro_rules! barstar {
101101 | -------------------- when calling this macro
0 commit comments