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-values.rs:10: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-05-01 14:16:38 +02:00
|
|
|
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
|
|
|
|
2023-11-19 20:43:50 +01:00
|
|
|
warning: unexpected `cfg` condition name: `feature`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/exhaustive-names-values.rs:18:7
|
2023-11-19 20:43:50 +01:00
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "unk")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
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-11-19 20:43:50 +01:00
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name: `feature`
|
2024-05-04 18:58:31 +10:00
|
|
|
--> $DIR/exhaustive-names-values.rs:24:7
|
2023-11-19 20:43:50 +01:00
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "std")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2023-11-22 16:50:24 +01:00
|
|
|
|
|
|
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(feature, values("std"))`
|
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-11-19 20:43:50 +01:00
|
|
|
|
|
|
|
|
warning: 4 warnings emitted
|
2021-09-29 02:39:30 +02:00
|
|
|
|