2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `cfg_attr` attribute input
|
2019-05-21 19:47:23 -05:00
|
|
|
--> $DIR/malformed-special-attrs.rs:1:1
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr]
|
2019-05-21 19:47:23 -05: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-01 17:21:05 -06:00
|
|
|
|
2019-12-04 23:45:50 -06:00
|
|
|
error: malformed `cfg_attr` attribute input
|
|
|
|
--> $DIR/malformed-special-attrs.rs:4:1
|
2019-01-01 17:21:05 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[cfg_attr = ""]
|
2019-12-04 23:45:50 -06: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-01 17:21:05 -06:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `derive` attribute input
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/malformed-special-attrs.rs:7:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[derive]
|
2020-11-14 05:47:14 -06:00
|
|
|
| ^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]`
|
2019-01-01 17:21:05 -06:00
|
|
|
|
2019-05-21 19:47:23 -05:00
|
|
|
error: malformed `derive` attribute input
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/malformed-special-attrs.rs:10:1
|
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[derive = ""]
|
2020-11-14 05:47:14 -06:00
|
|
|
| ^^^^^^^^^^^^^^ help: must be of the form: `#[derive(Trait1, Trait2, ...)]`
|
2019-01-01 17:21:05 -06:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|