2019-05-21 17:47:23 -07:00
|
|
|
error: malformed `cfg_attr` attribute input
|
2019-05-21 17:47:23 -07:00
|
|
|
--> $DIR/malformed-special-attrs.rs:1:1
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr]
|
2019-05-21 17:47:23 -07:00
|
|
|
| ^^^^^^^^^^^ help: missing condition and attribute: `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
|
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2019-01-02 02:21:05 +03:00
|
|
|
|
2019-12-05 06:45:50 +01:00
|
|
|
error: malformed `cfg_attr` attribute input
|
|
|
|
--> $DIR/malformed-special-attrs.rs:4:1
|
2019-01-02 02:21:05 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[cfg_attr = ""]
|
2019-12-05 06:45:50 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: missing condition and attribute: `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
|
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2019-01-02 02:21:05 +03:00
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
error: malformed `derive` attribute input
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/malformed-special-attrs.rs:7:1
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[derive]
|
2020-11-14 14:47:14 +03:00
|
|
|
| ^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]`
|
2019-01-02 02:21:05 +03:00
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
error: malformed `derive` attribute input
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/malformed-special-attrs.rs:10:1
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[derive = ""]
|
2020-11-14 14:47:14 +03:00
|
|
|
| ^^^^^^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]`
|
2019-01-02 02:21:05 +03:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|