2023-10-12 14:49:56 +00:00
|
|
|
warning: unexpected `cfg` condition name: `unknown_key`
|
2023-11-02 16:06:32 +00:00
|
|
|
--> $DIR/exhaustive-names-values.rs:11:7
|
2021-09-29 00:39:30 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(unknown_key = "value")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-11-19 19:43:50 +00:00
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
|
2021-09-29 00:39:30 +00:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
2023-05-01 12:16:38 +00:00
|
|
|
warning: unexpected `cfg` condition value: `value`
|
2023-11-02 16:06:32 +00:00
|
|
|
--> $DIR/exhaustive-names-values.rs:15:7
|
2023-05-01 12:16:38 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(test = "value")]
|
|
|
|
| ^^^^----------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
|
|
|
|
|
|
|
|
= note: no expected value for `test`
|
|
|
|
|
2023-11-19 19:43:50 +00:00
|
|
|
warning: unexpected `cfg` condition name: `feature`
|
|
|
|
--> $DIR/exhaustive-names-values.rs:19:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "unk")]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name: `feature`
|
|
|
|
--> $DIR/exhaustive-names-values.rs:26:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "std")]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: 4 warnings emitted
|
2021-09-29 00:39:30 +00:00
|
|
|
|