blob: e78f2833078cc740d74d6ee8c908a810af6de2c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
error: expected `*` or `+`
--> $DIR/macro-at-most-once-rep-2015-ques-rep.rs:6:10
|
LL | ($(a)?) => {}
| ^
|
= note: `?` is not a macro repetition operator in the 2015 edition, but is accepted in the 2018 edition
error: expected `*` or `+`
--> $DIR/macro-at-most-once-rep-2015-ques-rep.rs:10:11
|
LL | ($(a),?) => {}
| ^
|
= note: `?` is not a macro repetition operator in the 2015 edition, but is accepted in the 2018 edition
error: aborting due to 2 previous errors
|