2019-12-05 05:45:50 +00:00
|
|
|
error: malformed `cfg_attr` attribute input
|
|
|
|
--> $DIR/cfg-attr-parse.rs:4:1
|
2018-09-10 22:06:49 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[cfg_attr()]
|
2019-12-05 05:45:50 +00: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 22:06:49 +00:00
|
|
|
|
2019-12-05 05:45:50 +00:00
|
|
|
error: expected `,`, found end of `cfg_attr` input
|
2019-01-04 17:33:36 +00:00
|
|
|
--> $DIR/cfg-attr-parse.rs:8:17
|
2018-09-10 22:06:49 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[cfg_attr(all())]
|
2018-09-10 22:06:49 +00:00
|
|
|
| ^ expected `,`
|
2019-12-05 05:45:50 +00: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 22:06:49 +00:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 17:33:36 +00:00
|
|
|
--> $DIR/cfg-attr-parse.rs:16:18
|
2018-09-10 22:06:49 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[cfg_attr(all(),,)]
|
2018-09-10 22:06:49 +00:00
|
|
|
| ^ expected identifier
|
2019-12-05 05:45:50 +00: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 22:06:49 +00:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 17:33:36 +00:00
|
|
|
--> $DIR/cfg-attr-parse.rs:28:28
|
2018-09-10 22:06:49 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[cfg_attr(all(), must_use,,)]
|
2018-09-10 22:06:49 +00:00
|
|
|
| ^ expected identifier
|
2019-12-05 05:45:50 +00: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 22:06:49 +00:00
|
|
|
|
|
|
|
error: expected identifier, found `,`
|
2019-01-04 17:33:36 +00:00
|
|
|
--> $DIR/cfg-attr-parse.rs:40:40
|
2018-09-10 22:06:49 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[cfg_attr(all(), must_use, deprecated,,)]
|
2018-09-10 22:06:49 +00:00
|
|
|
| ^ expected identifier
|
2019-12-05 05:45:50 +00: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-22 02:07:19 +00:00
|
|
|
| ~ ~
|
2019-12-05 05:45:50 +00: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-22 02:07:19 +00:00
|
|
|
| ~ ~
|
2019-12-05 05:45:50 +00: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 22:06:49 +00:00
|
|
|
|
2019-12-05 05:45:50 +00:00
|
|
|
error: aborting due to 9 previous errors
|
2018-09-10 22:06:49 +00:00
|
|
|
|