Skip to content

Commit aeede9e

Browse files
committed
fix test
1 parent 59ae93d commit aeede9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/macros/macro-at-most-once-rep-2018.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub fn main() {
3939
barplus!(a); //~ERROR unexpected end of macro invocation
4040
barplus!(a?); //~ ERROR no rules expected the token `?`
4141
barplus!(a?a); //~ ERROR no rules expected the token `?`
42-
barplus!(a);
42+
barplus!(a+);
4343
barplus!(+);
4444

4545
barstar!(); //~ERROR unexpected end of macro invocation

src/test/ui/macros/macro-at-most-once-rep-2018.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error: the `?` macro repetition operator does not take a separator
22
--> $DIR/macro-at-most-once-rep-2018.rs:20:10
33
|
4-
LL | ($(a),?) => {} //~ERROR the `?` macro repetition operator
4+
LL | ($(a),?) => {}; //~ERROR the `?` macro repetition operator
55
| ^
66

77
error: no rules expected the token `?`

0 commit comments

Comments
 (0)