1 error: the `?` macro repetition operator does not take a separator
2 --> $DIR/macro-at-most-once-rep-2015.rs:11:10
7 error: no rules expected the token `?`
8 --> $DIR/macro-at-most-once-rep-2015.rs:25:11
10 LL | macro_rules! foo {
11 | ---------------- when calling this macro
14 | ^ no rules expected this token in macro call
16 = note: while trying to match sequence end
18 error: no rules expected the token `?`
19 --> $DIR/macro-at-most-once-rep-2015.rs:26:11
21 LL | macro_rules! foo {
22 | ---------------- when calling this macro
25 | ^ no rules expected this token in macro call
27 = note: while trying to match sequence end
29 error: no rules expected the token `?`
30 --> $DIR/macro-at-most-once-rep-2015.rs:27:11
32 LL | macro_rules! foo {
33 | ---------------- when calling this macro
36 | ^ no rules expected this token in macro call
38 = note: while trying to match sequence end
40 error: unexpected end of macro invocation
41 --> $DIR/macro-at-most-once-rep-2015.rs:29:5
43 LL | macro_rules! barplus {
44 | -------------------- when calling this macro
47 | ^^^^^^^^^^ missing tokens in macro arguments
49 note: while trying to match `+`
50 --> $DIR/macro-at-most-once-rep-2015.rs:15:11
52 LL | ($(a)?+) => {}; // ok. matches "a+" and "+"
55 error: unexpected end of macro invocation
56 --> $DIR/macro-at-most-once-rep-2015.rs:30:15
58 LL | macro_rules! barplus {
59 | -------------------- when calling this macro
62 | ^ missing tokens in macro arguments
64 note: while trying to match `+`
65 --> $DIR/macro-at-most-once-rep-2015.rs:15:11
67 LL | ($(a)?+) => {}; // ok. matches "a+" and "+"
70 error: no rules expected the token `?`
71 --> $DIR/macro-at-most-once-rep-2015.rs:31:15
73 LL | macro_rules! barplus {
74 | -------------------- when calling this macro
77 | ^ no rules expected this token in macro call
79 note: while trying to match `+`
80 --> $DIR/macro-at-most-once-rep-2015.rs:15:11
82 LL | ($(a)?+) => {}; // ok. matches "a+" and "+"
85 error: no rules expected the token `?`
86 --> $DIR/macro-at-most-once-rep-2015.rs:32:15
88 LL | macro_rules! barplus {
89 | -------------------- when calling this macro
92 | ^ no rules expected this token in macro call
94 note: while trying to match `+`
95 --> $DIR/macro-at-most-once-rep-2015.rs:15:11
97 LL | ($(a)?+) => {}; // ok. matches "a+" and "+"
100 error: unexpected end of macro invocation
101 --> $DIR/macro-at-most-once-rep-2015.rs:36:5
103 LL | macro_rules! barstar {
104 | -------------------- when calling this macro
107 | ^^^^^^^^^^ missing tokens in macro arguments
109 note: while trying to match `*`
110 --> $DIR/macro-at-most-once-rep-2015.rs:19:11
112 LL | ($(a)?*) => {}; // ok. matches "a*" and "*"
115 error: unexpected end of macro invocation
116 --> $DIR/macro-at-most-once-rep-2015.rs:37:15
118 LL | macro_rules! barstar {
119 | -------------------- when calling this macro
122 | ^ missing tokens in macro arguments
124 note: while trying to match `*`
125 --> $DIR/macro-at-most-once-rep-2015.rs:19:11
127 LL | ($(a)?*) => {}; // ok. matches "a*" and "*"
130 error: no rules expected the token `?`
131 --> $DIR/macro-at-most-once-rep-2015.rs:38:15
133 LL | macro_rules! barstar {
134 | -------------------- when calling this macro
137 | ^ no rules expected this token in macro call
139 note: while trying to match `*`
140 --> $DIR/macro-at-most-once-rep-2015.rs:19:11
142 LL | ($(a)?*) => {}; // ok. matches "a*" and "*"
145 error: no rules expected the token `?`
146 --> $DIR/macro-at-most-once-rep-2015.rs:39:15
148 LL | macro_rules! barstar {
149 | -------------------- when calling this macro
152 | ^ no rules expected this token in macro call
154 note: while trying to match `*`
155 --> $DIR/macro-at-most-once-rep-2015.rs:19:11
157 LL | ($(a)?*) => {}; // ok. matches "a*" and "*"
160 error: aborting due to 12 previous errors