1 error: malformed `proc_macro` attribute input
2 --> $DIR/invalid-attributes.rs:10:1
4 LL | #[proc_macro = "test"]
5 | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
7 error: malformed `proc_macro` attribute input
8 --> $DIR/invalid-attributes.rs:13:1
11 | ^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
13 error: malformed `proc_macro` attribute input
14 --> $DIR/invalid-attributes.rs:16:1
17 | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]`
19 error: malformed `proc_macro_attribute` attribute input
20 --> $DIR/invalid-attributes.rs:19:1
22 LL | #[proc_macro_attribute = "test"]
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
25 error: malformed `proc_macro_attribute` attribute input
26 --> $DIR/invalid-attributes.rs:22:1
28 LL | #[proc_macro_attribute()]
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
31 error: malformed `proc_macro_attribute` attribute input
32 --> $DIR/invalid-attributes.rs:25:1
34 LL | #[proc_macro_attribute(x)]
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]`
37 error: aborting due to 6 previous errors