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