Update tests since ? macro op is supported on 2015.

This commit is contained in:
Mazdak Farrokhzad 2019-05-18 08:24:56 +02:00
parent 39fbcfb277
commit 1e793c71b5
12 changed files with 185 additions and 87 deletions

View file

@ -1,7 +1,7 @@
macro_rules! foo {
{ $+ } => { //~ ERROR expected identifier, found `+`
//~^ ERROR missing fragment specifier
$(x)(y) //~ ERROR expected `*` or `+`
$(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
}
}

View file

@ -4,7 +4,7 @@ error: expected identifier, found `+`
LL | { $+ } => {
| ^
error: expected `*` or `+`
error: expected one of: `*`, `+`, or `?`
--> $DIR/issue-33569.rs:4:13
|
LL | $(x)(y)