mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +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() {}
|