mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
27 lines
647 B
Plaintext
27 lines
647 B
Plaintext
error: `cfg` predicate is not specified
|
|
--> $DIR/doc-cfg.rs:3:7
|
|
|
|
|
LL | #[doc(cfg(), cfg(foo, bar))]
|
|
| ^^^^^ help: expected syntax is: `cfg(/* predicate */)`
|
|
|
|
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())]
|
|
| ^^^^^ help: expected syntax is: `cfg(/* predicate */)`
|
|
|
|
error: multiple `cfg` predicates are specified
|
|
--> $DIR/doc-cfg.rs:8:16
|
|
|
|
|
LL | #[doc(cfg(foo, bar))]
|
|
| ^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|