2023-05-01 14:16:38 +02:00
|
|
|
warning: unexpected `cfg` condition name: `unknown_key`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/exhaustive-names-values.rs:10:7
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
|
|
LL | #[cfg(unknown_key = "value")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2025-01-30 13:09:14 -08:00
|
|
|
= help: expected names are: `feature` and 31 more
|
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
|
2023-05-01 14:16:38 +02:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value: `value`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/exhaustive-names-values.rs:14:7
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
2024-09-17 23:55:53 +02:00
|
|
|
LL | #[cfg(target_vendor = "value")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
2025-03-01 04:47:36 +01:00
|
|
|
= note: expected values for `target_vendor` are: `amd`, `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `mti`, `nintendo`, `nvidia`, `openwrt`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs`
|
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
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value: `unk`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/exhaustive-names-values.rs:18:7
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "unk")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: expected values for `feature` are: `std`
|
2023-11-22 16:50:24 +01:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(feature, values("unk"))`
|
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
|
2023-05-01 14:16:38 +02:00
|
|
|
|
2023-11-02 17:06:32 +01:00
|
|
|
warning: 3 warnings emitted
|
2023-05-01 14:16:38 +02:00
|
|
|
|