mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
14 lines
275 B
Rust
14 lines
275 B
Rust
#[cfg_attr] //~ ERROR malformed `cfg_attr` attribute
|
|
struct S1;
|
|
|
|
#[cfg_attr = ""] //~ ERROR malformed `cfg_attr` attribute
|
|
struct S2;
|
|
|
|
#[derive] //~ ERROR malformed `derive` attribute
|
|
struct S3;
|
|
|
|
#[derive = ""] //~ ERROR malformed `derive` attribute
|
|
struct S4;
|
|
|
|
fn main() {}
|