mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +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
|
|
|