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