2021-10-06 13:06:33 -05:00
|
|
|
error: `cfg` predicate is not specified
|
|
|
|
--> $DIR/doc-cfg.rs:3:7
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg(), cfg(foo, bar))]
|
2022-11-15 07:24:33 -06:00
|
|
|
| ^^^^^ help: expected syntax is: `cfg(/* predicate */)`
|
2021-10-06 13:06:33 -05:00
|
|
|
|
|
|
|
error: multiple `cfg` predicates are specified
|
|
|
|
--> $DIR/doc-cfg.rs:3:23
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg(), cfg(foo, bar))]
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: `cfg` predicate is not specified
|
|
|
|
--> $DIR/doc-cfg.rs:7:7
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg())]
|
2022-11-15 07:24:33 -06:00
|
|
|
| ^^^^^ help: expected syntax is: `cfg(/* predicate */)`
|
2021-10-06 13:06:33 -05:00
|
|
|
|
|
|
|
error: multiple `cfg` predicates are specified
|
|
|
|
--> $DIR/doc-cfg.rs:8:16
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg(foo, bar))]
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|