Update tests since ? macro op is supported on 2015.
This commit is contained in:
parent
39fbcfb277
commit
1e793c71b5
12 changed files with 185 additions and 87 deletions
|
|
@ -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 `?`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue