2025-05-10 15:15:54 +02:00
|
|
|
warning: unexpected `cfg` condition name: `foo`
|
2025-05-29 21:50:14 +02:00
|
|
|
--> $DIR/doc-cfg-check-cfg.rs:12:12
|
|
|
|
|
|
|
|
|
|
|
LL | #![doc(cfg(foo))]
|
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(foo)`
|
|
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name: `foo`
|
|
|
|
|
--> $DIR/doc-cfg-check-cfg.rs:19:11
|
|
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg(foo))]
|
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(foo)`
|
|
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name: `foo`
|
|
|
|
|
--> $DIR/doc-cfg-check-cfg.rs:15:11
|
2025-05-10 15:15:54 +02:00
|
|
|
|
|
|
|
|
|
LL | #[doc(cfg(foo))]
|
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(foo)`
|
|
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
|
|
2025-05-29 21:50:14 +02:00
|
|
|
warning: 3 warnings emitted
|
2025-05-10 15:15:54 +02:00
|
|
|
|