error: expected one of `)`, `,`, or `::`, found `(` --> $DIR/malformed-derive-entry.rs:1:14 | LL | #[derive(Copy(Bad))] | ^ expected one of `)`, `,`, or `::` here error: expected one of `)`, `,`, or `::`, found `=` --> $DIR/malformed-derive-entry.rs:4:14 | LL | #[derive(Copy="bad")] | ^ expected one of `)`, `,`, or `::` here warning: empty trait list in `derive` --> $DIR/malformed-derive-entry.rs:7:1 | LL | #[derive()] | ^^^^^^^^^^^ error: bad `derive` attribute --> $DIR/malformed-derive-entry.rs:10:1 | LL | #[derive] | ^^^^^^^^^ missing traits to be derived | = note: `derive` must be of the form: `#[derive(Trait1, Trait2, ...)]` error: aborting due to 3 previous errors