= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:21:7
+ --> $DIR/mix.rs:18:7
+ |
+LL | #[cfg(feature = "bar")]
+ | ^^^^^^^^^^^^^^^
+ |
+ = note: expected values for `feature` are: foo
+
+warning: unexpected `cfg` condition value
+ --> $DIR/mix.rs:22:7
|
LL | #[cfg(feature = "zebra")]
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:25:12
+ --> $DIR/mix.rs:26:12
|
LL | #[cfg_attr(uu, test)]
| ^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:34:10
+ --> $DIR/mix.rs:35:10
|
LL | cfg!(widnows);
| ^^^^^^^ help: did you mean: `windows`
warning: unexpected `cfg` condition value
--> $DIR/mix.rs:38:10
|
+LL | cfg!(feature = "bar");
+ | ^^^^^^^^^^^^^^^
+ |
+ = note: expected values for `feature` are: foo
+
+warning: unexpected `cfg` condition value
+ --> $DIR/mix.rs:40:10
+ |
LL | cfg!(feature = "zebra");
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:40:10
+ --> $DIR/mix.rs:42:10
|
LL | cfg!(xxx = "foo");
| ^^^^^^^^^^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:42:10
+ --> $DIR/mix.rs:44:10
|
LL | cfg!(xxx);
| ^^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:44:14
+ --> $DIR/mix.rs:46:14
|
LL | cfg!(any(xxx, windows));
| ^^^
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:46:14
+ --> $DIR/mix.rs:48:14
|
LL | cfg!(any(feature = "bad", windows));
- | ^^^^^^^^^^-----
- | |
- | help: did you mean: `"bar"`
+ | ^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:48:23
+ --> $DIR/mix.rs:50:23
|
LL | cfg!(any(windows, xxx));
| ^^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:50:20
+ --> $DIR/mix.rs:52:20
|
LL | cfg!(all(unix, xxx));
| ^^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:52:14
+ --> $DIR/mix.rs:54:14
|
LL | cfg!(all(aa, bb));
| ^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:52:18
+ --> $DIR/mix.rs:54:18
|
LL | cfg!(all(aa, bb));
| ^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:55:14
+ --> $DIR/mix.rs:57:14
|
LL | cfg!(any(aa, bb));
| ^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:55:18
+ --> $DIR/mix.rs:57:18
|
LL | cfg!(any(aa, bb));
| ^^
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:58:20
+ --> $DIR/mix.rs:60:20
|
LL | cfg!(any(unix, feature = "zebra"));
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:60:14
+ --> $DIR/mix.rs:62:14
|
LL | cfg!(any(xxx, feature = "zebra"));
| ^^^
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:60:19
+ --> $DIR/mix.rs:62:19
|
LL | cfg!(any(xxx, feature = "zebra"));
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:63:14
+ --> $DIR/mix.rs:65:14
|
LL | cfg!(any(xxx, unix, xxx));
| ^^^
warning: unexpected `cfg` condition name
- --> $DIR/mix.rs:63:25
+ --> $DIR/mix.rs:65:25
|
LL | cfg!(any(xxx, unix, xxx));
| ^^^
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:66:14
+ --> $DIR/mix.rs:68:14
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:66:33
+ --> $DIR/mix.rs:68:33
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
warning: unexpected `cfg` condition value
- --> $DIR/mix.rs:66:52
+ --> $DIR/mix.rs:68:52
|
LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
| ^^^^^^^^^^^^^^^^^
|
- = note: expected values for `feature` are: bar, foo
+ = note: expected values for `feature` are: foo
-warning: 23 warnings emitted
+warning: 25 warnings emitted