1 error[E0423]: expected value, found type alias `m1::S`
2 --> $DIR/namespace-mix.rs:34:11
5 | ---------------- similarly named tuple struct `TS` defined here
10 = note: can't use a type alias as a constructor
11 help: a tuple struct with a similar name exists
15 help: consider importing one of these items instead
22 error[E0423]: expected value, found type alias `xm1::S`
23 --> $DIR/namespace-mix.rs:40:11
28 ::: $DIR/auxiliary/namespace-mix.rs:3:5
31 | ---------------- similarly named tuple struct `TS` defined here
33 = note: can't use a type alias as a constructor
34 help: a tuple struct with a similar name exists
38 help: consider importing one of these items instead
45 error[E0423]: expected value, found struct variant `m7::V`
46 --> $DIR/namespace-mix.rs:100:11
49 | ---- `m7::V` defined here
51 | ---- similarly named tuple variant `TV` defined here
54 | ^^^^^ did you mean `m7::V { /* fields */ }`?
56 help: a tuple variant with a similar name exists
60 help: consider importing one of these items instead
67 error[E0423]: expected value, found struct variant `xm7::V`
68 --> $DIR/namespace-mix.rs:106:11
71 | ^^^^^^ did you mean `xm7::V { /* fields */ }`?
73 ::: $DIR/auxiliary/namespace-mix.rs:7:9
76 | ---- similarly named tuple variant `TV` defined here
78 help: a tuple variant with a similar name exists
82 help: consider importing one of these items instead
89 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
90 --> $DIR/namespace-mix.rs:33:11
92 LL | fn check<T: Impossible>(_: T) {}
93 | ---------- required by this bound in `check`
96 | ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
98 error[E0277]: the trait bound `c::S: Impossible` is not satisfied
99 --> $DIR/namespace-mix.rs:35:11
101 LL | fn check<T: Impossible>(_: T) {}
102 | ---------- required by this bound in `check`
105 | ^^^^^^^ the trait `Impossible` is not implemented for `c::S`
107 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
108 --> $DIR/namespace-mix.rs:36:11
110 LL | fn check<T: Impossible>(_: T) {}
111 | ---------- required by this bound in `check`
114 | ^^^^^ the trait `Impossible` is not implemented for `c::Item`
116 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
117 --> $DIR/namespace-mix.rs:39:11
119 LL | fn check<T: Impossible>(_: T) {}
120 | ---------- required by this bound in `check`
122 LL | check(xm1::S{});
123 | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
125 error[E0277]: the trait bound `namespace_mix::c::S: Impossible` is not satisfied
126 --> $DIR/namespace-mix.rs:41:11
128 LL | fn check<T: Impossible>(_: T) {}
129 | ---------- required by this bound in `check`
131 LL | check(xm2::S{});
132 | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::S`
134 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
135 --> $DIR/namespace-mix.rs:42:11
137 LL | fn check<T: Impossible>(_: T) {}
138 | ---------- required by this bound in `check`
141 | ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
143 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
144 --> $DIR/namespace-mix.rs:55:11
146 LL | fn check<T: Impossible>(_: T) {}
147 | ---------- required by this bound in `check`
149 LL | check(m3::TS{});
150 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
152 error[E0277]: the trait bound `fn() -> c::TS {c::TS}: Impossible` is not satisfied
153 --> $DIR/namespace-mix.rs:56:11
155 LL | fn check<T: Impossible>(_: T) {}
156 | ---------- required by this bound in `check`
159 | ^^^^^^ the trait `Impossible` is not implemented for `fn() -> c::TS {c::TS}`
161 error[E0277]: the trait bound `c::TS: Impossible` is not satisfied
162 --> $DIR/namespace-mix.rs:57:11
164 LL | fn check<T: Impossible>(_: T) {}
165 | ---------- required by this bound in `check`
167 LL | check(m4::TS{});
168 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::TS`
170 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
171 --> $DIR/namespace-mix.rs:58:11
173 LL | fn check<T: Impossible>(_: T) {}
174 | ---------- required by this bound in `check`
177 | ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
179 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
180 --> $DIR/namespace-mix.rs:61:11
182 LL | fn check<T: Impossible>(_: T) {}
183 | ---------- required by this bound in `check`
185 LL | check(xm3::TS{});
186 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
188 error[E0277]: the trait bound `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}: Impossible` is not satisfied
189 --> $DIR/namespace-mix.rs:62:11
191 LL | fn check<T: Impossible>(_: T) {}
192 | ---------- required by this bound in `check`
195 | ^^^^^^^ the trait `Impossible` is not implemented for `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}`
197 error[E0277]: the trait bound `namespace_mix::c::TS: Impossible` is not satisfied
198 --> $DIR/namespace-mix.rs:63:11
200 LL | fn check<T: Impossible>(_: T) {}
201 | ---------- required by this bound in `check`
203 LL | check(xm4::TS{});
204 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::TS`
206 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
207 --> $DIR/namespace-mix.rs:64:11
209 LL | fn check<T: Impossible>(_: T) {}
210 | ---------- required by this bound in `check`
213 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
215 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
216 --> $DIR/namespace-mix.rs:77:11
218 LL | fn check<T: Impossible>(_: T) {}
219 | ---------- required by this bound in `check`
221 LL | check(m5::US{});
222 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
224 error[E0277]: the trait bound `c::US: Impossible` is not satisfied
225 --> $DIR/namespace-mix.rs:78:11
227 LL | fn check<T: Impossible>(_: T) {}
228 | ---------- required by this bound in `check`
231 | ^^^^^^ the trait `Impossible` is not implemented for `c::US`
233 error[E0277]: the trait bound `c::US: Impossible` is not satisfied
234 --> $DIR/namespace-mix.rs:79:11
236 LL | fn check<T: Impossible>(_: T) {}
237 | ---------- required by this bound in `check`
239 LL | check(m6::US{});
240 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::US`
242 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
243 --> $DIR/namespace-mix.rs:80:11
245 LL | fn check<T: Impossible>(_: T) {}
246 | ---------- required by this bound in `check`
249 | ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
251 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
252 --> $DIR/namespace-mix.rs:83:11
254 LL | fn check<T: Impossible>(_: T) {}
255 | ---------- required by this bound in `check`
257 LL | check(xm5::US{});
258 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
260 error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
261 --> $DIR/namespace-mix.rs:84:11
263 LL | fn check<T: Impossible>(_: T) {}
264 | ---------- required by this bound in `check`
267 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
269 error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
270 --> $DIR/namespace-mix.rs:85:11
272 LL | fn check<T: Impossible>(_: T) {}
273 | ---------- required by this bound in `check`
275 LL | check(xm6::US{});
276 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
278 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
279 --> $DIR/namespace-mix.rs:86:11
281 LL | fn check<T: Impossible>(_: T) {}
282 | ---------- required by this bound in `check`
285 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
287 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
288 --> $DIR/namespace-mix.rs:99:11
290 LL | fn check<T: Impossible>(_: T) {}
291 | ---------- required by this bound in `check`
294 | ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
296 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
297 --> $DIR/namespace-mix.rs:101:11
299 LL | fn check<T: Impossible>(_: T) {}
300 | ---------- required by this bound in `check`
303 | ^^^^^^^ the trait `Impossible` is not implemented for `c::E`
305 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
306 --> $DIR/namespace-mix.rs:102:11
308 LL | fn check<T: Impossible>(_: T) {}
309 | ---------- required by this bound in `check`
312 | ^^^^^ the trait `Impossible` is not implemented for `c::Item`
314 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
315 --> $DIR/namespace-mix.rs:105:11
317 LL | fn check<T: Impossible>(_: T) {}
318 | ---------- required by this bound in `check`
320 LL | check(xm7::V{});
321 | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
323 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
324 --> $DIR/namespace-mix.rs:107:11
326 LL | fn check<T: Impossible>(_: T) {}
327 | ---------- required by this bound in `check`
329 LL | check(xm8::V{});
330 | ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
332 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
333 --> $DIR/namespace-mix.rs:108:11
335 LL | fn check<T: Impossible>(_: T) {}
336 | ---------- required by this bound in `check`
339 | ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
341 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
342 --> $DIR/namespace-mix.rs:121:11
344 LL | fn check<T: Impossible>(_: T) {}
345 | ---------- required by this bound in `check`
347 LL | check(m9::TV{});
348 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
350 error[E0277]: the trait bound `fn() -> c::E {c::E::TV}: Impossible` is not satisfied
351 --> $DIR/namespace-mix.rs:122:11
353 LL | fn check<T: Impossible>(_: T) {}
354 | ---------- required by this bound in `check`
357 | ^^^^^^ the trait `Impossible` is not implemented for `fn() -> c::E {c::E::TV}`
359 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
360 --> $DIR/namespace-mix.rs:123:11
362 LL | fn check<T: Impossible>(_: T) {}
363 | ---------- required by this bound in `check`
365 LL | check(mA::TV{});
366 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
368 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
369 --> $DIR/namespace-mix.rs:124:11
371 LL | fn check<T: Impossible>(_: T) {}
372 | ---------- required by this bound in `check`
375 | ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
377 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
378 --> $DIR/namespace-mix.rs:127:11
380 LL | fn check<T: Impossible>(_: T) {}
381 | ---------- required by this bound in `check`
383 LL | check(xm9::TV{});
384 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
386 error[E0277]: the trait bound `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}: Impossible` is not satisfied
387 --> $DIR/namespace-mix.rs:128:11
389 LL | fn check<T: Impossible>(_: T) {}
390 | ---------- required by this bound in `check`
393 | ^^^^^^^ the trait `Impossible` is not implemented for `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}`
395 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
396 --> $DIR/namespace-mix.rs:129:11
398 LL | fn check<T: Impossible>(_: T) {}
399 | ---------- required by this bound in `check`
401 LL | check(xmA::TV{});
402 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
404 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
405 --> $DIR/namespace-mix.rs:130:11
407 LL | fn check<T: Impossible>(_: T) {}
408 | ---------- required by this bound in `check`
411 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
413 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
414 --> $DIR/namespace-mix.rs:143:11
416 LL | fn check<T: Impossible>(_: T) {}
417 | ---------- required by this bound in `check`
419 LL | check(mB::UV{});
420 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
422 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
423 --> $DIR/namespace-mix.rs:144:11
425 LL | fn check<T: Impossible>(_: T) {}
426 | ---------- required by this bound in `check`
429 | ^^^^^^ the trait `Impossible` is not implemented for `c::E`
431 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
432 --> $DIR/namespace-mix.rs:145:11
434 LL | fn check<T: Impossible>(_: T) {}
435 | ---------- required by this bound in `check`
437 LL | check(mC::UV{});
438 | ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
440 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
441 --> $DIR/namespace-mix.rs:146:11
443 LL | fn check<T: Impossible>(_: T) {}
444 | ---------- required by this bound in `check`
447 | ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
449 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
450 --> $DIR/namespace-mix.rs:149:11
452 LL | fn check<T: Impossible>(_: T) {}
453 | ---------- required by this bound in `check`
455 LL | check(xmB::UV{});
456 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
458 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
459 --> $DIR/namespace-mix.rs:150:11
461 LL | fn check<T: Impossible>(_: T) {}
462 | ---------- required by this bound in `check`
465 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
467 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
468 --> $DIR/namespace-mix.rs:151:11
470 LL | fn check<T: Impossible>(_: T) {}
471 | ---------- required by this bound in `check`
473 LL | check(xmC::UV{});
474 | ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
476 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
477 --> $DIR/namespace-mix.rs:152:11
479 LL | fn check<T: Impossible>(_: T) {}
480 | ---------- required by this bound in `check`
483 | ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
485 error: aborting due to 48 previous errors
487 Some errors have detailed explanations: E0277, E0423.
488 For more information about an error, try `rustc --explain E0277`.