mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +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() {}
|