3 ($a:ident, $b:ident) => ();
4 ($a:ident, $b:ident, $c:ident) => ();
5 ($a:ident, $b:ident, $c:ident, $d:ident) => ();
6 ($a:ident, $b:ident, $c:ident, $d:ident, $e:ident) => ();
10 ($lvl:expr, $($arg:tt)+) => {}
14 ($ty:ty, $expected:expr) => {};
15 ($ty_of:expr, $expected:expr) => {};
20 //~^ ERROR expected `,`, found `a`
22 //~^ ERROR no rules expected the token `b`
24 //~^ ERROR no rules expected the token `e`
26 //~^ ERROR no rules expected the token `d`
28 //~^ ERROR no rules expected the token `d`
30 //~^ ERROR unexpected end of macro invocation
31 check!(<str as Debug>::fmt, "fmt");
32 check!(<str as Debug>::fmt, "fmt",);
33 //~^ ERROR no rules expected the token `,`