]>
Commit | Line | Data |
---|---|---|
60c5eb7d XL |
1 | error: malformed `cfg_attr` attribute input |
2 | --> $DIR/cfg-attr-parse.rs:4:1 | |
0bf4aa26 | 3 | | |
532ac7d7 | 4 | LL | #[cfg_attr()] |
60c5eb7d XL |
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> | |
0bf4aa26 | 8 | |
60c5eb7d | 9 | error: expected `,`, found end of `cfg_attr` input |
0731742a | 10 | --> $DIR/cfg-attr-parse.rs:8:17 |
0bf4aa26 | 11 | | |
532ac7d7 | 12 | LL | #[cfg_attr(all())] |
0bf4aa26 | 13 | | ^ expected `,` |
60c5eb7d XL |
14 | | |
15 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
16 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
0bf4aa26 XL |
17 | |
18 | error: expected identifier, found `,` | |
0731742a | 19 | --> $DIR/cfg-attr-parse.rs:16:18 |
0bf4aa26 | 20 | | |
532ac7d7 | 21 | LL | #[cfg_attr(all(),,)] |
0bf4aa26 | 22 | | ^ expected identifier |
60c5eb7d XL |
23 | | |
24 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
25 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
0bf4aa26 XL |
26 | |
27 | error: expected identifier, found `,` | |
0731742a | 28 | --> $DIR/cfg-attr-parse.rs:28:28 |
0bf4aa26 | 29 | | |
532ac7d7 | 30 | LL | #[cfg_attr(all(), must_use,,)] |
0bf4aa26 | 31 | | ^ expected identifier |
60c5eb7d XL |
32 | | |
33 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
34 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
0bf4aa26 XL |
35 | |
36 | error: expected identifier, found `,` | |
0731742a | 37 | --> $DIR/cfg-attr-parse.rs:40:40 |
0bf4aa26 | 38 | | |
532ac7d7 | 39 | LL | #[cfg_attr(all(), must_use, deprecated,,)] |
0bf4aa26 | 40 | | ^ expected identifier |
60c5eb7d XL |
41 | | |
42 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
43 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
44 | ||
45 | error: wrong `cfg_attr` delimiters | |
46 | --> $DIR/cfg-attr-parse.rs:44:11 | |
47 | | | |
48 | LL | #[cfg_attr[all(),,]] | |
49 | | ^^^^^^^^^ | |
50 | | | |
51 | help: the delimiters should be `(` and `)` | |
52 | | | |
53 | LL | #[cfg_attr(all(),,)] | |
94222f64 | 54 | | ~ ~ |
60c5eb7d XL |
55 | |
56 | error: expected identifier, found `,` | |
57 | --> $DIR/cfg-attr-parse.rs:44:18 | |
58 | | | |
59 | LL | #[cfg_attr[all(),,]] | |
60 | | ^ expected identifier | |
61 | | | |
62 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
63 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
64 | ||
65 | error: wrong `cfg_attr` delimiters | |
66 | --> $DIR/cfg-attr-parse.rs:50:11 | |
67 | | | |
68 | LL | #[cfg_attr{all(),,}] | |
69 | | ^^^^^^^^^ | |
70 | | | |
71 | help: the delimiters should be `(` and `)` | |
72 | | | |
73 | LL | #[cfg_attr(all(),,)] | |
94222f64 | 74 | | ~ ~ |
60c5eb7d XL |
75 | |
76 | error: expected identifier, found `,` | |
77 | --> $DIR/cfg-attr-parse.rs:50:18 | |
78 | | | |
79 | LL | #[cfg_attr{all(),,}] | |
80 | | ^ expected identifier | |
81 | | | |
82 | = help: the valid syntax is `#[cfg_attr(condition, attribute, other_attribute, ...)]` | |
83 | = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> | |
0bf4aa26 | 84 | |
60c5eb7d | 85 | error: aborting due to 9 previous errors |
0bf4aa26 | 86 |