2019-12-04 23:45:50 -06:00
|
|
|
error: malformed `cfg_attr` attribute input
|
|
|
|
--> $DIR/cfg-attr-parse.rs:4:1
|
2018-09-10 17:06:49 -05: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>
|
2018-09-10 17:06:49 -05:00
|
|
|
|
2019-12-04 23:45:50 -06:00
|
|
|
error: expected `,`, found end of `cfg_attr` input
|
2019-01-04 11:33:36 -06:00
|
|
|
--> $DIR/cfg-attr-parse.rs:8:17
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[cfg_attr(all())]
|
2018-09-10 17:06:49 -05:00
|
|
|
| ^ expected `,`
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 11:33:36 -06:00
|
|
|
--> $DIR/cfg-attr-parse.rs:16:18
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[cfg_attr(all(),,)]
|
2018-09-10 17:06:49 -05:00
|
|
|
| ^ expected identifier
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 11:33:36 -06:00
|
|
|
--> $DIR/cfg-attr-parse.rs:28:28
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[cfg_attr(all(), must_use,,)]
|
2018-09-10 17:06:49 -05:00
|
|
|
| ^ expected identifier
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 11:33:36 -06:00
|
|
|
--> $DIR/cfg-attr-parse.rs:40:40
|
2018-09-10 17:06:49 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[cfg_attr(all(), must_use, deprecated,,)]
|
2018-09-10 17:06:49 -05:00
|
|
|
| ^ expected identifier
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
|
|
|
|
|
|
|
error: wrong `cfg_attr` delimiters
|
|
|
|
--> $DIR/cfg-attr-parse.rs:44:11
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr[all(),,]]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr(all(),,)]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~ ~
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
|
|
|
--> $DIR/cfg-attr-parse.rs:44:18
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr[all(),,]]
|
|
|
|
| ^ expected identifier
|
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
|
|
|
|
|
|
|
error: wrong `cfg_attr` delimiters
|
|
|
|
--> $DIR/cfg-attr-parse.rs:50:11
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr{all(),,}]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr(all(),,)]
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~ ~
|
2019-12-04 23:45:50 -06:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
|
|
|
--> $DIR/cfg-attr-parse.rs:50:18
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr{all(),,}]
|
|
|
|
| ^ expected identifier
|
|
|
|
|
|
|
|
|
= help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]`
|
|
|
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
|
2018-09-10 17:06:49 -05:00
|
|
|
|
2019-12-04 23:45:50 -06:00
|
|
|
error: aborting due to 9 previous errors
|
2018-09-10 17:06:49 -05:00
|
|
|
|