1 error: attribute must be of form: #[proc_macro_derive(TraitName)]
2 --> $DIR/attribute.rs:18:1
4 LL | #[proc_macro_derive]
7 error: attribute must be of form: #[proc_macro_derive(TraitName)]
8 --> $DIR/attribute.rs:24:1
10 LL | #[proc_macro_derive = "foo"]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: must only be one word
14 --> $DIR/attribute.rs:31:5
19 error: attribute must have either one or two arguments
20 --> $DIR/attribute.rs:38:1
22 LL | #[proc_macro_derive(b, c, d)]
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 error: must only be one word
26 --> $DIR/attribute.rs:44:21
28 LL | #[proc_macro_derive(d(e))]
31 error: must only be one word
32 --> $DIR/attribute.rs:50:35
34 LL | #[proc_macro_derive(f, attributes(g = "h"))]
37 error: must only be one word
38 --> $DIR/attribute.rs:56:35
40 LL | #[proc_macro_derive(i, attributes(j(k)))]
43 error: attribute must have either one or two arguments
44 --> $DIR/attribute.rs:62:1
46 LL | #[proc_macro_derive(l, attributes(m), n)]
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49 error: aborting due to 8 previous errors