10 lines
221 B
Rust
10 lines
221 B
Rust
fn main() {}
|
|
|
|
macro_rules! foo {
|
|
{ $+ } => { //~ ERROR expected identifier, found `+`
|
|
//~^ ERROR missing fragment specifier
|
|
$(x)(y) //~ ERROR expected one of: `*`, `+`, or `?`
|
|
}
|
|
}
|
|
|
|
foo!();
|