rust/src/test/ui/malformed/malformed-derive-entry.stderr

27 lines
680 B
Plaintext
Raw Normal View History

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 `=`
--> $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`
--> $DIR/malformed-derive-entry.rs:7:1
2018-08-08 07:28:26 -05:00
|
LL | #[derive()]
| ^^^^^^^^^^^
error: attribute must be of the form `#[derive(Trait1, Trait2, ...)]`
--> $DIR/malformed-derive-entry.rs:10:1
2018-08-08 07:28:26 -05:00
|
LL | #[derive]
| ^^^^^^^^^
2018-08-08 07:28:26 -05:00
error: aborting due to 3 previous errors
2018-08-08 07:28:26 -05:00