fix test
This commit is contained in:
parent
59ae93daed
commit
aeede9eb46
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 `?`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue