Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Nov 27, 2018
1 parent 59ae93d commit aeede9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/macros/macro-at-most-once-rep-2018.rs
Expand Up @@ -39,7 +39,7 @@ pub fn main() {
barplus!(a); //~ERROR unexpected end of macro invocation
barplus!(a?); //~ ERROR no rules expected the token `?`
barplus!(a?a); //~ ERROR no rules expected the token `?`
barplus!(a);
barplus!(a+);
barplus!(+);

barstar!(); //~ERROR unexpected end of macro invocation
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/macros/macro-at-most-once-rep-2018.stderr
@@ -1,7 +1,7 @@
error: the `?` macro repetition operator does not take a separator
--> $DIR/macro-at-most-once-rep-2018.rs:20:10
|
LL | ($(a),?) => {} //~ERROR the `?` macro repetition operator
LL | ($(a),?) => {}; //~ERROR the `?` macro repetition operator
| ^

error: no rules expected the token `?`
Expand Down

0 comments on commit aeede9e

Please sign in to comment.