11warning: unexpected `cfg` condition name: `widnows`
2- --> $DIR/mix.rs:15 :7
2+ --> $DIR/mix.rs:17 :7
33 |
44LL | #[cfg(widnows)]
55 | ^^^^^^^ help: there is a config with a similar name: `windows`
66 |
77 = note: `#[warn(unexpected_cfgs)]` on by default
88
99warning: unexpected `cfg` condition value: (none)
10- --> $DIR/mix.rs:19 :7
10+ --> $DIR/mix.rs:21 :7
1111 |
1212LL | #[cfg(feature)]
1313 | ^^^^^^^- help: specify a config value: `= "foo"`
1414 |
1515 = note: expected values for `feature` are: `foo`
1616
1717warning: unexpected `cfg` condition value: `bar`
18- --> $DIR/mix.rs:26 :7
18+ --> $DIR/mix.rs:28 :7
1919 |
2020LL | #[cfg(feature = "bar")]
2121 | ^^^^^^^^^^^^^^^
2222 |
2323 = note: expected values for `feature` are: `foo`
2424
2525warning: unexpected `cfg` condition value: `zebra`
26- --> $DIR/mix.rs:30 :7
26+ --> $DIR/mix.rs:32 :7
2727 |
2828LL | #[cfg(feature = "zebra")]
2929 | ^^^^^^^^^^^^^^^^^
3030 |
3131 = note: expected values for `feature` are: `foo`
3232
3333warning: unexpected `cfg` condition name: `uu`
34- --> $DIR/mix.rs:34 :12
34+ --> $DIR/mix.rs:36 :12
3535 |
3636LL | #[cfg_attr(uu, test)]
3737 | ^^
@@ -41,147 +41,152 @@ LL | #[cfg_attr(uu, test)]
4141warning: unexpected condition value `bar` for condition name `feature`
4242 |
4343 = help: was set with `--cfg` but isn't in the `--check-cfg` expected values
44+ note: the lint level is defined here
45+ --> $DIR/mix.rs:12:9
46+ |
47+ LL | #![warn(unexpected_cli_cfgs)]
48+ | ^^^^^^^^^^^^^^^^^^^
4449
4550warning: unexpected `unknown_name` as condition name
4651 |
4752 = help: was set with `--cfg` but isn't in the `--check-cfg` expected names
4853
4954warning: unexpected `cfg` condition name: `widnows`
50- --> $DIR/mix.rs:43 :10
55+ --> $DIR/mix.rs:45 :10
5156 |
5257LL | cfg!(widnows);
5358 | ^^^^^^^ help: there is a config with a similar name: `windows`
5459
5560warning: unexpected `cfg` condition value: `bar`
56- --> $DIR/mix.rs:46 :10
61+ --> $DIR/mix.rs:48 :10
5762 |
5863LL | cfg!(feature = "bar");
5964 | ^^^^^^^^^^^^^^^
6065 |
6166 = note: expected values for `feature` are: `foo`
6267
6368warning: unexpected `cfg` condition value: `zebra`
64- --> $DIR/mix.rs:48 :10
69+ --> $DIR/mix.rs:50 :10
6570 |
6671LL | cfg!(feature = "zebra");
6772 | ^^^^^^^^^^^^^^^^^
6873 |
6974 = note: expected values for `feature` are: `foo`
7075
7176warning: unexpected `cfg` condition name: `xxx`
72- --> $DIR/mix.rs:50 :10
77+ --> $DIR/mix.rs:52 :10
7378 |
7479LL | cfg!(xxx = "foo");
7580 | ^^^^^^^^^^^
7681
7782warning: unexpected `cfg` condition name: `xxx`
78- --> $DIR/mix.rs:52 :10
83+ --> $DIR/mix.rs:54 :10
7984 |
8085LL | cfg!(xxx);
8186 | ^^^
8287
8388warning: unexpected `cfg` condition name: `xxx`
84- --> $DIR/mix.rs:54 :14
89+ --> $DIR/mix.rs:56 :14
8590 |
8691LL | cfg!(any(xxx, windows));
8792 | ^^^
8893
8994warning: unexpected `cfg` condition value: `bad`
90- --> $DIR/mix.rs:56 :14
95+ --> $DIR/mix.rs:58 :14
9196 |
9297LL | cfg!(any(feature = "bad", windows));
9398 | ^^^^^^^^^^^^^^^
9499 |
95100 = note: expected values for `feature` are: `foo`
96101
97102warning: unexpected `cfg` condition name: `xxx`
98- --> $DIR/mix.rs:58 :23
103+ --> $DIR/mix.rs:60 :23
99104 |
100105LL | cfg!(any(windows, xxx));
101106 | ^^^
102107
103108warning: unexpected `cfg` condition name: `xxx`
104- --> $DIR/mix.rs:60 :20
109+ --> $DIR/mix.rs:62 :20
105110 |
106111LL | cfg!(all(unix, xxx));
107112 | ^^^
108113
109114warning: unexpected `cfg` condition name: `aa`
110- --> $DIR/mix.rs:62 :14
115+ --> $DIR/mix.rs:64 :14
111116 |
112117LL | cfg!(all(aa, bb));
113118 | ^^
114119
115120warning: unexpected `cfg` condition name: `bb`
116- --> $DIR/mix.rs:62 :18
121+ --> $DIR/mix.rs:64 :18
117122 |
118123LL | cfg!(all(aa, bb));
119124 | ^^
120125
121126warning: unexpected `cfg` condition name: `aa`
122- --> $DIR/mix.rs:65 :14
127+ --> $DIR/mix.rs:67 :14
123128 |
124129LL | cfg!(any(aa, bb));
125130 | ^^
126131
127132warning: unexpected `cfg` condition name: `bb`
128- --> $DIR/mix.rs:65 :18
133+ --> $DIR/mix.rs:67 :18
129134 |
130135LL | cfg!(any(aa, bb));
131136 | ^^
132137
133138warning: unexpected `cfg` condition value: `zebra`
134- --> $DIR/mix.rs:68 :20
139+ --> $DIR/mix.rs:70 :20
135140 |
136141LL | cfg!(any(unix, feature = "zebra"));
137142 | ^^^^^^^^^^^^^^^^^
138143 |
139144 = note: expected values for `feature` are: `foo`
140145
141146warning: unexpected `cfg` condition name: `xxx`
142- --> $DIR/mix.rs:70 :14
147+ --> $DIR/mix.rs:72 :14
143148 |
144149LL | cfg!(any(xxx, feature = "zebra"));
145150 | ^^^
146151
147152warning: unexpected `cfg` condition value: `zebra`
148- --> $DIR/mix.rs:70 :19
153+ --> $DIR/mix.rs:72 :19
149154 |
150155LL | cfg!(any(xxx, feature = "zebra"));
151156 | ^^^^^^^^^^^^^^^^^
152157 |
153158 = note: expected values for `feature` are: `foo`
154159
155160warning: unexpected `cfg` condition name: `xxx`
156- --> $DIR/mix.rs:73 :14
161+ --> $DIR/mix.rs:75 :14
157162 |
158163LL | cfg!(any(xxx, unix, xxx));
159164 | ^^^
160165
161166warning: unexpected `cfg` condition name: `xxx`
162- --> $DIR/mix.rs:73 :25
167+ --> $DIR/mix.rs:75 :25
163168 |
164169LL | cfg!(any(xxx, unix, xxx));
165170 | ^^^
166171
167172warning: unexpected `cfg` condition value: `zebra`
168- --> $DIR/mix.rs:76 :14
173+ --> $DIR/mix.rs:78 :14
169174 |
170175LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
171176 | ^^^^^^^^^^^^^^^^^
172177 |
173178 = note: expected values for `feature` are: `foo`
174179
175180warning: unexpected `cfg` condition value: `zebra`
176- --> $DIR/mix.rs:76 :33
181+ --> $DIR/mix.rs:78 :33
177182 |
178183LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
179184 | ^^^^^^^^^^^^^^^^^
180185 |
181186 = note: expected values for `feature` are: `foo`
182187
183188warning: unexpected `cfg` condition value: `zebra`
184- --> $DIR/mix.rs:76 :52
189+ --> $DIR/mix.rs:78 :52
185190 |
186191LL | cfg!(all(feature = "zebra", feature = "zebra", feature = "zebra"));
187192 | ^^^^^^^^^^^^^^^^^
0 commit comments