2022-02-20 00:26:52 +00:00
|
|
|
warning: unexpected `cfg` condition name
|
|
|
|
--> $DIR/mix.rs:11:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(widnows)]
|
2023-04-30 17:09:15 +00:00
|
|
|
| ^^^^^^^ help: there is a config with a similar name: `windows`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:15:7
|
|
|
|
|
|
|
|
|
LL | #[cfg(feature)]
|
|
|
|
| ^^^^^^^- help: specify a config value: `= "foo"`
|
|
|
|
|
|
|
|
|
= note: expected values for `feature` are: `foo`
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
|
|
|
--> $DIR/mix.rs:22:7
|
2022-07-20 15:31:15 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "bar")]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-07-20 15:31:15 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:26:7
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "zebra")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:30:12
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(uu, test)]
|
|
|
|
| ^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
2022-08-11 17:50:48 +00:00
|
|
|
warning: unexpected condition value `bar` for condition name `feature`
|
|
|
|
|
|
|
|
|
= help: was set with `--cfg` but isn't in the `--check-cfg` expected values
|
|
|
|
|
|
|
|
warning: unexpected `unknown_name` as condition name
|
|
|
|
|
|
|
|
|
= help: was set with `--cfg` but isn't in the `--check-cfg` expected names
|
|
|
|
|
2022-02-20 00:26:52 +00:00
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:39:10
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(widnows);
|
2023-04-30 17:09:15 +00:00
|
|
|
| ^^^^^^^ help: there is a config with a similar name: `windows`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:42:10
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
2022-07-20 15:31:15 +00:00
|
|
|
LL | cfg!(feature = "bar");
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-07-20 15:31:15 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:44:10
|
2022-07-20 15:31:15 +00:00
|
|
|
|
|
2022-02-20 00:26:52 +00:00
|
|
|
LL | cfg!(feature = "zebra");
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:46:10
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(xxx = "foo");
|
|
|
|
| ^^^^^^^^^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:48:10
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(xxx);
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:50:14
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(xxx, windows));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:52:14
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(feature = "bad", windows));
|
2022-07-20 15:31:15 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2022-02-20 00:26:52 +00:00
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-02-20 00:26:52 +00:00
|
|
|
|
2022-03-19 09:23:09 +00:00
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:54:23
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(windows, xxx));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:56:20
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(unix, xxx));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:58:14
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(aa, bb));
|
|
|
|
| ^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:58:18
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(aa, bb));
|
|
|
|
| ^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:61:14
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(aa, bb));
|
|
|
|
| ^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:61:18
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(aa, bb));
|
|
|
|
| ^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:64:20
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(unix, feature = "zebra"));
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:66:14
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(xxx, feature = "zebra"));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:66:19
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(xxx, feature = "zebra"));
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:69:14
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(xxx, unix, xxx));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition name
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:69:25
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(any(xxx, unix, xxx));
|
|
|
|
| ^^^
|
2023-10-12 14:46:27 +00:00
|
|
|
|
|
|
|
|
= help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `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`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:72:14
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:72:33
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value
|
2023-04-30 17:09:15 +00:00
|
|
|
--> $DIR/mix.rs:72:52
|
2022-03-19 09:23:09 +00:00
|
|
|
|
|
|
|
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-30 13:52:44 +00:00
|
|
|
= note: expected values for `feature` are: `foo`
|
2022-03-19 09:23:09 +00:00
|
|
|
|
2023-04-30 17:09:15 +00:00
|
|
|
warning: 28 warnings emitted
|
2022-02-20 00:26:52 +00:00
|
|
|
|