2019-05-21 19:47:23 -05:00
|
|
|
#[derive(Copy(Bad))] //~ ERROR expected one of `)`, `,`, or `::`, found `(`
|
2015-03-06 15:15:54 -06:00
|
|
|
struct Test1;
|
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
#[derive(Copy="bad")] //~ ERROR expected one of `)`, `,`, or `::`, found `=`
|
2015-03-06 15:15:54 -06:00
|
|
|
struct Test2;
|
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
#[derive] //~ ERROR malformed `derive` attribute input
|
2015-03-06 15:15:54 -06:00
|
|
|
struct Test4;
|
2018-12-16 11:23:27 -06:00
|
|
|
|
|
|
|
fn main() {}
|