1+ warning: unexpected `cfg` condition name: `widnows`
2+ --> $DIR/mix.rs:13:7
3+ |
4+ LL | #[cfg(widnows)]
5+ | ^^^^^^^ help: there is a config with a similar name: `windows`
6+ |
7+ = help: to expect this configuration use `--check-cfg=cfg(widnows)`
8+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
9+ = note: `#[warn(unexpected_cfgs)]` on by default
10+
11+ warning: unexpected `cfg` condition value: (none)
12+ --> $DIR/mix.rs:17:7
13+ |
14+ LL | #[cfg(feature)]
15+ | ^^^^^^^- help: specify a config value: `= "foo"`
16+ |
17+ = note: expected values for `feature` are: `foo`
18+ = help: to expect this configuration use `--check-cfg=cfg(feature)`
19+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
20+
21+ warning: unexpected `cfg` condition value: `bar`
22+ --> $DIR/mix.rs:24:7
23+ |
24+ LL | #[cfg(feature = "bar")]
25+ | ^^^^^^^^^^^^^^^
26+ |
27+ = note: expected values for `feature` are: `foo`
28+ = help: to expect this configuration use `--check-cfg=cfg(feature, values("bar"))`
29+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
30+
31+ warning: unexpected `cfg` condition value: `zebra`
32+ --> $DIR/mix.rs:28:7
33+ |
34+ LL | #[cfg(feature = "zebra")]
35+ | ^^^^^^^^^^^^^^^^^
36+ |
37+ = note: expected values for `feature` are: `foo`
38+ = help: to expect this configuration use `--check-cfg=cfg(feature, values("zebra"))`
39+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
40+
41+ warning: unexpected `cfg` condition name: `uu`
42+ --> $DIR/mix.rs:32:12
43+ |
44+ LL | #[cfg_attr(uu, unix)]
45+ | ^^
46+ |
47+ = help: expected names are: `feature` and 31 more
48+ = help: to expect this configuration use `--check-cfg=cfg(uu)`
49+ = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
50+
151warning: unexpected `cfg` condition name: `widnows`
252 --> $DIR/mix.rs:41:10
353 |
@@ -6,7 +56,6 @@ LL | cfg!(widnows);
656 |
757 = help: to expect this configuration use `--check-cfg=cfg(widnows)`
858 = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
9- = note: `#[warn(unexpected_cfgs)]` on by default
1059
1160warning: unexpected `cfg` condition value: `bar`
1261 --> $DIR/mix.rs:44:10
@@ -34,7 +83,6 @@ warning: unexpected `cfg` condition name: `xxx`
3483LL | cfg!(xxx = "foo");
3584 | ^^^^^^^^^^^
3685 |
37- = help: expected names are: `feature` and 31 more
3886 = help: to expect this configuration use `--check-cfg=cfg(xxx, values("foo"))`
3987 = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
4088
@@ -197,53 +245,5 @@ LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
197245 = help: to expect this configuration use `--check-cfg=cfg(feature, values("zebra"))`
198246 = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
199247
200- warning: unexpected `cfg` condition name: `widnows`
201- --> $DIR/mix.rs:13:7
202- |
203- LL | #[cfg(widnows)]
204- | ^^^^^^^ help: there is a config with a similar name: `windows`
205- |
206- = help: to expect this configuration use `--check-cfg=cfg(widnows)`
207- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
208-
209- warning: unexpected `cfg` condition value: (none)
210- --> $DIR/mix.rs:17:7
211- |
212- LL | #[cfg(feature)]
213- | ^^^^^^^- help: specify a config value: `= "foo"`
214- |
215- = note: expected values for `feature` are: `foo`
216- = help: to expect this configuration use `--check-cfg=cfg(feature)`
217- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
218-
219- warning: unexpected `cfg` condition value: `bar`
220- --> $DIR/mix.rs:24:7
221- |
222- LL | #[cfg(feature = "bar")]
223- | ^^^^^^^^^^^^^^^
224- |
225- = note: expected values for `feature` are: `foo`
226- = help: to expect this configuration use `--check-cfg=cfg(feature, values("bar"))`
227- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
228-
229- warning: unexpected `cfg` condition value: `zebra`
230- --> $DIR/mix.rs:28:7
231- |
232- LL | #[cfg(feature = "zebra")]
233- | ^^^^^^^^^^^^^^^^^
234- |
235- = note: expected values for `feature` are: `foo`
236- = help: to expect this configuration use `--check-cfg=cfg(feature, values("zebra"))`
237- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
238-
239- warning: unexpected `cfg` condition name: `uu`
240- --> $DIR/mix.rs:32:12
241- |
242- LL | #[cfg_attr(uu, unix)]
243- | ^^
244- |
245- = help: to expect this configuration use `--check-cfg=cfg(uu)`
246- = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
247-
248248warning: 26 warnings emitted
249249
0 commit comments