| ($a:ident, $b:ident) => (); |
| ($a:ident, $b:ident, $c:ident) => (); |
| ($a:ident, $b:ident, $c:ident, $d:ident) => (); |
| ($a:ident, $b:ident, $c:ident, $d:ident, $e:ident) => (); |
| ($lvl:expr, $($arg:tt)+) => {} |
| ($ty:ty, $expected:expr) => {}; |
| ($ty_of:expr, $expected:expr) => {}; |
| //~^ ERROR expected `,`, found `a` |
| //~^ ERROR no rules expected the token `b` |
| //~^ ERROR no rules expected the token `e` |
| //~^ ERROR no rules expected the token `d` |
| //~^ ERROR no rules expected the token `d` |
| //~^ ERROR unexpected end of macro invocation |
| check!(<str as Debug>::fmt, "fmt"); |
| check!(<str as Debug>::fmt, "fmt",); |
| //~^ ERROR no rules expected the token `,` |