2019-12-05 06:53:56 -06:00
|
|
|
#[derive(Copy(Bad))]
|
|
|
|
//~^ ERROR traits in `#[derive(...)]` don't accept arguments
|
|
|
|
//~| ERROR the trait bound
|
2015-03-06 15:15:54 -06:00
|
|
|
struct Test1;
|
|
|
|
|
2019-12-05 06:53:56 -06:00
|
|
|
#[derive(Copy="bad")]
|
|
|
|
//~^ ERROR traits in `#[derive(...)]` don't accept values
|
|
|
|
//~| ERROR the trait bound
|
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() {}
|