2019-05-21 19:47:23 -05:00
|
|
|
#[cfg_attr] //~ ERROR malformed `cfg_attr` attribute
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S1;
|
|
|
|
|
|
|
|
#[cfg_attr = ""] //~ ERROR expected `(`, found `=`
|
|
|
|
struct S2;
|
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
#[derive] //~ ERROR malformed `derive` attribute
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S3;
|
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
#[derive = ""] //~ ERROR malformed `derive` attribute
|
2019-01-01 17:21:05 -06:00
|
|
|
struct S4;
|
|
|
|
|
|
|
|
fn main() {}
|