]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | error: malformed `proc_macro` attribute input |
0731742a | 2 | --> $DIR/invalid-attributes.rs:10:1 |
8faf50e0 | 3 | | |
532ac7d7 | 4 | LL | #[proc_macro = "test"] |
dc9dc135 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]` |
8faf50e0 | 6 | |
dc9dc135 | 7 | error: malformed `proc_macro` attribute input |
0731742a | 8 | --> $DIR/invalid-attributes.rs:13:1 |
8faf50e0 | 9 | | |
532ac7d7 | 10 | LL | #[proc_macro()] |
dc9dc135 | 11 | | ^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]` |
8faf50e0 | 12 | |
dc9dc135 | 13 | error: malformed `proc_macro` attribute input |
0731742a | 14 | --> $DIR/invalid-attributes.rs:16:1 |
8faf50e0 | 15 | | |
532ac7d7 | 16 | LL | #[proc_macro(x)] |
dc9dc135 | 17 | | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro]` |
8faf50e0 | 18 | |
dc9dc135 | 19 | error: malformed `proc_macro_attribute` attribute input |
0731742a | 20 | --> $DIR/invalid-attributes.rs:19:1 |
8faf50e0 | 21 | | |
532ac7d7 | 22 | LL | #[proc_macro_attribute = "test"] |
dc9dc135 | 23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]` |
8faf50e0 | 24 | |
dc9dc135 | 25 | error: malformed `proc_macro_attribute` attribute input |
0731742a | 26 | --> $DIR/invalid-attributes.rs:22:1 |
8faf50e0 | 27 | | |
532ac7d7 | 28 | LL | #[proc_macro_attribute()] |
dc9dc135 | 29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]` |
8faf50e0 | 30 | |
dc9dc135 | 31 | error: malformed `proc_macro_attribute` attribute input |
0731742a | 32 | --> $DIR/invalid-attributes.rs:25:1 |
8faf50e0 | 33 | | |
532ac7d7 | 34 | LL | #[proc_macro_attribute(x)] |
dc9dc135 | 35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[proc_macro_attribute]` |
8faf50e0 XL |
36 | |
37 | error: aborting due to 6 previous errors | |
38 |