fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: malformed `cfg_attr` attribute input 2 --> $DIR/malformed-special-attrs.rs:1:1 3 | 4LL | #[cfg_attr] 5 | ^^^^^^^^^^^ help: missing condition and attribute: `#[cfg_attr(condition, attribute, other_attribute, ...)]` 6 | 7 = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> 8 9error: malformed `cfg_attr` attribute input 10 --> $DIR/malformed-special-attrs.rs:4:1 11 | 12LL | #[cfg_attr = ""] 13 | ^^^^^^^^^^^^^^^^ help: missing condition and attribute: `#[cfg_attr(condition, attribute, other_attribute, ...)]` 14 | 15 = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> 16 17error: malformed `derive` attribute input 18 --> $DIR/malformed-special-attrs.rs:7:1 19 | 20LL | #[derive] 21 | ^^^^^^^^^ help: missing traits to be derived: `#[derive(Trait1, Trait2, ...)]` 22 23error: malformed `derive` attribute input 24 --> $DIR/malformed-special-attrs.rs:10:1 25 | 26LL | #[derive = ""] 27 | ^^^^^^^^^^^^^^ help: missing traits to be derived: `#[derive(Trait1, Trait2, ...)]` 28 29error: aborting due to 4 previous errors 30