rust/src/test/ui/conditional-compilation/cfg-attr-parse.stderr

33 lines
986 B
Plaintext
Raw Normal View History

error: expected identifier, found `)`
2019-01-04 11:33:36 -06:00
--> $DIR/cfg-attr-parse.rs:4:12
|
LL | #[cfg_attr()] //~ error: expected identifier, found `)`
| ^ expected identifier
error: expected `,`, found `)`
2019-01-04 11:33:36 -06:00
--> $DIR/cfg-attr-parse.rs:8:17
|
LL | #[cfg_attr(all())] //~ error: expected `,`, found `)`
| ^ expected `,`
error: expected identifier, found `,`
2019-01-04 11:33:36 -06:00
--> $DIR/cfg-attr-parse.rs:16:18
|
LL | #[cfg_attr(all(),,)] //~ ERROR expected identifier
| ^ expected identifier
error: expected identifier, found `,`
2019-01-04 11:33:36 -06:00
--> $DIR/cfg-attr-parse.rs:28:28
|
LL | #[cfg_attr(all(), must_use,,)] //~ ERROR expected identifier
| ^ expected identifier
error: expected identifier, found `,`
2019-01-04 11:33:36 -06:00
--> $DIR/cfg-attr-parse.rs:40:40
|
LL | #[cfg_attr(all(), must_use, deprecated,,)] //~ ERROR expected identifier
| ^ expected identifier
error: aborting due to 5 previous errors