We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
macro_rules! items { () => { type A = (); fn a() {} } } trait Foo { type A; fn a(); } impl Foo for () { items!(); } fn main() { }
<anon>:3:9: 3:13 error: expected one of `extern`, `fn`, or `unsafe`, found `type` <anon>:3 type A = (); ^~~~