2025-03-29 17:24:03 +00:00
|
|
|
warning: unexpected `cfg` condition name: `unknown_and_inactive_cfg`
|
2025-01-25 12:27:33 +01:00
|
|
|
--> $DIR/allow-same-level.rs:15:7
|
2022-02-27 22:26:24 +01:00
|
|
|
|
|
2025-03-29 17:24:03 +00:00
|
|
|
LL | #[cfg(unknown_and_inactive_cfg)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-02-27 22:26:24 +01:00
|
|
|
|
|
2025-03-29 17:24:03 +00:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(unknown_and_inactive_cfg)`
|
2024-02-25 15:45:43 +01:00
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
2022-02-27 22:26:24 +01:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
2025-01-24 18:22:43 +01:00
|
|
|
warning: unexpected `cfg` condition name: `unknown_but_active_cfg`
|
2025-01-25 12:27:33 +01:00
|
|
|
--> $DIR/allow-same-level.rs:20:7
|
2025-01-24 18:22:43 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg(unknown_but_active_cfg)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(unknown_but_active_cfg)`
|
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2022-02-27 22:26:24 +01:00
|
|
|
|