2018-08-08 07:28:26 -05:00
|
|
|
error: expected one of `)`, `,`, or `::`, found `(`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/malformed-derive-entry.rs:1:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(Copy(Bad))]
|
|
|
|
| ^ expected one of `)`, `,`, or `::` here
|
|
|
|
|
|
|
|
error: expected one of `)`, `,`, or `::`, found `=`
|
2019-05-21 19:47:23 -05:00
|
|
|
--> $DIR/malformed-derive-entry.rs:4:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(Copy="bad")]
|
|
|
|
| ^ expected one of `)`, `,`, or `::` here
|
|
|
|
|
|
|
|
warning: empty trait list in `derive`
|
2019-05-21 19:47:23 -05:00
|
|
|
--> $DIR/malformed-derive-entry.rs:7:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[derive()]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: bad `derive` attribute
|
|
|
|
--> $DIR/malformed-derive-entry.rs:10:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[derive]
|
2019-05-21 19:47:23 -05:00
|
|
|
| ^^^^^^^^^ missing traits to be derived
|
|
|
|
|
|
|
|
|
= note: `derive` must be of the form: `#[derive(Trait1, Trait2, ...)]`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|