]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | error: malformed `cfg_attr` attribute input |
2 | --> $DIR/malformed-special-attrs.rs:1:1 | |
3 | | | |
4 | LL | #[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> | |
9fa01778 | 8 | |
60c5eb7d XL |
9 | error: malformed `cfg_attr` attribute input |
10 | --> $DIR/malformed-special-attrs.rs:4:1 | |
9fa01778 | 11 | | |
532ac7d7 | 12 | LL | #[cfg_attr = ""] |
60c5eb7d XL |
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> | |
9fa01778 | 16 | |
dc9dc135 | 17 | error: malformed `derive` attribute input |
9fa01778 XL |
18 | --> $DIR/malformed-special-attrs.rs:7:1 |
19 | | | |
532ac7d7 | 20 | LL | #[derive] |
6a06907d | 21 | | ^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]` |
9fa01778 | 22 | |
dc9dc135 | 23 | error: malformed `derive` attribute input |
9fa01778 XL |
24 | --> $DIR/malformed-special-attrs.rs:10:1 |
25 | | | |
532ac7d7 | 26 | LL | #[derive = ""] |
6a06907d | 27 | | ^^^^^^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]` |
9fa01778 XL |
28 | |
29 | error: aborting due to 4 previous errors | |
30 |