2023-10-12 16:49:56 +02:00
|
|
|
warning: unexpected `cfg` condition name: `unknown_key`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/exhaustive-names.rs:7:7
|
2021-09-29 02:39:30 +02:00
|
|
|
|
|
|
|
|
|
LL | #[cfg(unknown_key = "value")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2023-11-22 16:50:24 +01:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(unknown_key, values("value"))`
|
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
|
2021-09-29 02:39:30 +02:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
|
2023-11-02 17:06:32 +01:00
|
|
|
warning: 1 warning emitted
|
2021-09-29 02:39:30 +02:00
|
|
|
|