]> git.lizzy.rs Git - rust.git/blob - tests/ui/malformed/malformed-special-attrs.rs
Rollup merge of #107015 - cuviper:ra-riscv64, r=Mark-Simulacrum
[rust.git] / tests / ui / malformed / malformed-special-attrs.rs
1 #[cfg_attr] //~ ERROR malformed `cfg_attr` attribute
2 struct S1;
3
4 #[cfg_attr = ""] //~ ERROR malformed `cfg_attr` attribute
5 struct S2;
6
7 #[derive] //~ ERROR malformed `derive` attribute
8 struct S3;
9
10 #[derive = ""] //~ ERROR malformed `derive` attribute
11 struct S4;
12
13 fn main() {}