2019-05-24 17:17:32 -05:00
|
|
|
#[cfg_attr] //~ ERROR expected `(`, found end of attribute
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S1;
|
|
|
|
|
|
|
|
#[cfg_attr = ""] //~ ERROR expected `(`, found `=`
|
|
|
|
struct S2;
|
|
|
|
|
2019-05-24 17:17:32 -05:00
|
|
|
#[derive] //~ ERROR attribute must be of the form
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S3;
|
|
|
|
|
2019-05-24 17:17:32 -05:00
|
|
|
#[derive = ""] //~ ERROR attribute must be of the form
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S4;
|
|
|
|
|
|
|
|
fn main() {}
|