2016-05-25 15:05:47 -05:00
|
|
|
macro_rules! foo {
|
|
|
|
{ $+ } => { //~ ERROR expected identifier, found `+`
|
2017-01-29 02:38:44 -06:00
|
|
|
//~^ ERROR missing fragment specifier
|
2022-04-08 08:04:37 -05:00
|
|
|
//~| ERROR missing fragment specifier
|
|
|
|
//~| WARN this was previously accepted
|
2019-05-18 01:24:56 -05:00
|
|
|
$(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
|
2016-05-25 15:05:47 -05:00
|
|
|
}
|
|
|
|
}
|
2017-02-25 21:25:22 -06:00
|
|
|
|
|
|
|
foo!();
|
2020-03-18 07:34:11 -05:00
|
|
|
|
|
|
|
fn main() {}
|