| error: must only be one word |
| --> $DIR/attribute.rs:21:5 |
| | |
| LL | a = "b" |
| | ^^^^^^^ |
| |
| error: attribute must have either one or two arguments |
| --> $DIR/attribute.rs:28:1 |
| | |
| LL | #[proc_macro_derive(b, c, d)] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: must only be one word |
| --> $DIR/attribute.rs:34:21 |
| | |
| LL | #[proc_macro_derive(d(e))] |
| | ^^^^ |
| |
| error: must only be one word |
| --> $DIR/attribute.rs:40:35 |
| | |
| LL | #[proc_macro_derive(f, attributes(g = "h"))] |
| | ^^^^^^^ |
| |
| error: must only be one word |
| --> $DIR/attribute.rs:46:35 |
| | |
| LL | #[proc_macro_derive(i, attributes(j(k)))] |
| | ^^^^ |
| |
| error: attribute must have either one or two arguments |
| --> $DIR/attribute.rs:52:1 |
| | |
| LL | #[proc_macro_derive(l, attributes(m), n)] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: attribute must be of the form `#[proc_macro_derive(TraitName, /*opt*/ attributes(name1, name2, ...))]` |
| --> $DIR/attribute.rs:8:1 |
| | |
| LL | #[proc_macro_derive] |
| | ^^^^^^^^^^^^^^^^^^^^ |
| |
| error: attribute must be of the form `#[proc_macro_derive(TraitName, /*opt*/ attributes(name1, name2, ...))]` |
| --> $DIR/attribute.rs:14:1 |
| | |
| LL | #[proc_macro_derive = "foo"] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: aborting due to 8 previous errors |
| |