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
21 help: if you import `S`, refer to it directly
27 error[E0423]: expected value, found type alias `xm1::S`
28 --> $DIR/namespace-mix.rs:40:11
33 ::: $DIR/auxiliary/namespace-mix.rs:3:5
36 | ------------- similarly named tuple struct `TS` defined here
38 = note: can't use a type alias as a constructor
39 help: a tuple struct with a similar name exists
43 help: consider importing one of these items instead
49 help: if you import `S`, refer to it directly
55 error[E0423]: expected value, found type alias `m7::V`
56 --> $DIR/namespace-mix.rs:100:11
59 | ---- similarly named tuple variant `TV` defined here
64 = note: can't use a type alias as a constructor
65 help: a tuple variant with a similar name exists
69 help: consider importing one of these items instead
75 help: if you import `V`, refer to it directly
81 error[E0423]: expected value, found type alias `xm7::V`
82 --> $DIR/namespace-mix.rs:106:11
87 ::: $DIR/auxiliary/namespace-mix.rs:7:9
90 | -- similarly named tuple variant `TV` defined here
92 = note: can't use a type alias as a constructor
93 help: a tuple variant with a similar name exists
97 help: consider importing one of these items instead
103 help: if you import `V`, refer to it directly
109 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
110 --> $DIR/namespace-mix.rs:33:11
113 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
115 | required by a bound introduced by this call
117 note: required by a bound in `check`
118 --> $DIR/namespace-mix.rs:21:13
120 LL | fn check<T: Impossible>(_: T) {}
121 | ^^^^^^^^^^ required by this bound in `check`
123 error[E0277]: the trait bound `c::S: Impossible` is not satisfied
124 --> $DIR/namespace-mix.rs:35:11
127 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::S`
129 | required by a bound introduced by this call
131 note: required by a bound in `check`
132 --> $DIR/namespace-mix.rs:21:13
134 LL | fn check<T: Impossible>(_: T) {}
135 | ^^^^^^^^^^ required by this bound in `check`
137 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
138 --> $DIR/namespace-mix.rs:36:11
141 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item`
143 | required by a bound introduced by this call
145 note: required by a bound in `check`
146 --> $DIR/namespace-mix.rs:21:13
148 LL | fn check<T: Impossible>(_: T) {}
149 | ^^^^^^^^^^ required by this bound in `check`
151 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
152 --> $DIR/namespace-mix.rs:39:11
154 LL | check(xm1::S{});
155 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
157 | required by a bound introduced by this call
159 note: required by a bound in `check`
160 --> $DIR/namespace-mix.rs:21:13
162 LL | fn check<T: Impossible>(_: T) {}
163 | ^^^^^^^^^^ required by this bound in `check`
165 error[E0277]: the trait bound `namespace_mix::c::S: Impossible` is not satisfied
166 --> $DIR/namespace-mix.rs:41:11
168 LL | check(xm2::S{});
169 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::S`
171 | required by a bound introduced by this call
173 note: required by a bound in `check`
174 --> $DIR/namespace-mix.rs:21:13
176 LL | fn check<T: Impossible>(_: T) {}
177 | ^^^^^^^^^^ required by this bound in `check`
179 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
180 --> $DIR/namespace-mix.rs:42:11
183 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
185 | required by a bound introduced by this call
187 note: required by a bound in `check`
188 --> $DIR/namespace-mix.rs:21:13
190 LL | fn check<T: Impossible>(_: T) {}
191 | ^^^^^^^^^^ required by this bound in `check`
193 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
194 --> $DIR/namespace-mix.rs:55:11
196 LL | check(m3::TS{});
197 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
199 | required by a bound introduced by this call
201 note: required by a bound in `check`
202 --> $DIR/namespace-mix.rs:21:13
204 LL | fn check<T: Impossible>(_: T) {}
205 | ^^^^^^^^^^ required by this bound in `check`
207 error[E0277]: the trait bound `fn() -> c::TS {c::TS}: Impossible` is not satisfied
208 --> $DIR/namespace-mix.rs:56:11
211 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::TS {c::TS}`
213 | required by a bound introduced by this call
215 note: required by a bound in `check`
216 --> $DIR/namespace-mix.rs:21:13
218 LL | fn check<T: Impossible>(_: T) {}
219 | ^^^^^^^^^^ required by this bound in `check`
221 error[E0277]: the trait bound `c::TS: Impossible` is not satisfied
222 --> $DIR/namespace-mix.rs:57:11
224 LL | check(m4::TS{});
225 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::TS`
227 | required by a bound introduced by this call
229 note: required by a bound in `check`
230 --> $DIR/namespace-mix.rs:21:13
232 LL | fn check<T: Impossible>(_: T) {}
233 | ^^^^^^^^^^ required by this bound in `check`
235 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
236 --> $DIR/namespace-mix.rs:58:11
239 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
241 | required by a bound introduced by this call
243 note: required by a bound in `check`
244 --> $DIR/namespace-mix.rs:21:13
246 LL | fn check<T: Impossible>(_: T) {}
247 | ^^^^^^^^^^ required by this bound in `check`
249 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
250 --> $DIR/namespace-mix.rs:61:11
252 LL | check(xm3::TS{});
253 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
255 | required by a bound introduced by this call
257 note: required by a bound in `check`
258 --> $DIR/namespace-mix.rs:21:13
260 LL | fn check<T: Impossible>(_: T) {}
261 | ^^^^^^^^^^ required by this bound in `check`
263 error[E0277]: the trait bound `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}: Impossible` is not satisfied
264 --> $DIR/namespace-mix.rs:62:11
267 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}`
269 | required by a bound introduced by this call
271 note: required by a bound in `check`
272 --> $DIR/namespace-mix.rs:21:13
274 LL | fn check<T: Impossible>(_: T) {}
275 | ^^^^^^^^^^ required by this bound in `check`
277 error[E0277]: the trait bound `namespace_mix::c::TS: Impossible` is not satisfied
278 --> $DIR/namespace-mix.rs:63:11
280 LL | check(xm4::TS{});
281 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::TS`
283 | required by a bound introduced by this call
285 note: required by a bound in `check`
286 --> $DIR/namespace-mix.rs:21:13
288 LL | fn check<T: Impossible>(_: T) {}
289 | ^^^^^^^^^^ required by this bound in `check`
291 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
292 --> $DIR/namespace-mix.rs:64:11
295 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
297 | required by a bound introduced by this call
299 note: required by a bound in `check`
300 --> $DIR/namespace-mix.rs:21:13
302 LL | fn check<T: Impossible>(_: T) {}
303 | ^^^^^^^^^^ required by this bound in `check`
305 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
306 --> $DIR/namespace-mix.rs:77:11
308 LL | check(m5::US{});
309 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
311 | required by a bound introduced by this call
313 note: required by a bound in `check`
314 --> $DIR/namespace-mix.rs:21:13
316 LL | fn check<T: Impossible>(_: T) {}
317 | ^^^^^^^^^^ required by this bound in `check`
319 error[E0277]: the trait bound `c::US: Impossible` is not satisfied
320 --> $DIR/namespace-mix.rs:78:11
323 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::US`
325 | required by a bound introduced by this call
327 note: required by a bound in `check`
328 --> $DIR/namespace-mix.rs:21:13
330 LL | fn check<T: Impossible>(_: T) {}
331 | ^^^^^^^^^^ required by this bound in `check`
333 error[E0277]: the trait bound `c::US: Impossible` is not satisfied
334 --> $DIR/namespace-mix.rs:79:11
336 LL | check(m6::US{});
337 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::US`
339 | required by a bound introduced by this call
341 note: required by a bound in `check`
342 --> $DIR/namespace-mix.rs:21:13
344 LL | fn check<T: Impossible>(_: T) {}
345 | ^^^^^^^^^^ required by this bound in `check`
347 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
348 --> $DIR/namespace-mix.rs:80:11
351 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
353 | required by a bound introduced by this call
355 note: required by a bound in `check`
356 --> $DIR/namespace-mix.rs:21:13
358 LL | fn check<T: Impossible>(_: T) {}
359 | ^^^^^^^^^^ required by this bound in `check`
361 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
362 --> $DIR/namespace-mix.rs:83:11
364 LL | check(xm5::US{});
365 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
367 | required by a bound introduced by this call
369 note: required by a bound in `check`
370 --> $DIR/namespace-mix.rs:21:13
372 LL | fn check<T: Impossible>(_: T) {}
373 | ^^^^^^^^^^ required by this bound in `check`
375 error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
376 --> $DIR/namespace-mix.rs:84:11
379 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
381 | required by a bound introduced by this call
383 note: required by a bound in `check`
384 --> $DIR/namespace-mix.rs:21:13
386 LL | fn check<T: Impossible>(_: T) {}
387 | ^^^^^^^^^^ required by this bound in `check`
389 error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
390 --> $DIR/namespace-mix.rs:85:11
392 LL | check(xm6::US{});
393 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
395 | required by a bound introduced by this call
397 note: required by a bound in `check`
398 --> $DIR/namespace-mix.rs:21:13
400 LL | fn check<T: Impossible>(_: T) {}
401 | ^^^^^^^^^^ required by this bound in `check`
403 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
404 --> $DIR/namespace-mix.rs:86:11
407 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
409 | required by a bound introduced by this call
411 note: required by a bound in `check`
412 --> $DIR/namespace-mix.rs:21:13
414 LL | fn check<T: Impossible>(_: T) {}
415 | ^^^^^^^^^^ required by this bound in `check`
417 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
418 --> $DIR/namespace-mix.rs:99:11
421 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
423 | required by a bound introduced by this call
425 note: required by a bound in `check`
426 --> $DIR/namespace-mix.rs:21:13
428 LL | fn check<T: Impossible>(_: T) {}
429 | ^^^^^^^^^^ required by this bound in `check`
431 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
432 --> $DIR/namespace-mix.rs:101:11
435 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::E`
437 | required by a bound introduced by this call
439 note: required by a bound in `check`
440 --> $DIR/namespace-mix.rs:21:13
442 LL | fn check<T: Impossible>(_: T) {}
443 | ^^^^^^^^^^ required by this bound in `check`
445 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
446 --> $DIR/namespace-mix.rs:102:11
449 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item`
451 | required by a bound introduced by this call
453 note: required by a bound in `check`
454 --> $DIR/namespace-mix.rs:21:13
456 LL | fn check<T: Impossible>(_: T) {}
457 | ^^^^^^^^^^ required by this bound in `check`
459 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
460 --> $DIR/namespace-mix.rs:105:11
462 LL | check(xm7::V{});
463 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
465 | required by a bound introduced by this call
467 note: required by a bound in `check`
468 --> $DIR/namespace-mix.rs:21:13
470 LL | fn check<T: Impossible>(_: T) {}
471 | ^^^^^^^^^^ required by this bound in `check`
473 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
474 --> $DIR/namespace-mix.rs:107:11
476 LL | check(xm8::V{});
477 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
479 | required by a bound introduced by this call
481 note: required by a bound in `check`
482 --> $DIR/namespace-mix.rs:21:13
484 LL | fn check<T: Impossible>(_: T) {}
485 | ^^^^^^^^^^ required by this bound in `check`
487 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
488 --> $DIR/namespace-mix.rs:108:11
491 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
493 | required by a bound introduced by this call
495 note: required by a bound in `check`
496 --> $DIR/namespace-mix.rs:21:13
498 LL | fn check<T: Impossible>(_: T) {}
499 | ^^^^^^^^^^ required by this bound in `check`
501 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
502 --> $DIR/namespace-mix.rs:121:11
504 LL | check(m9::TV{});
505 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
507 | required by a bound introduced by this call
509 note: required by a bound in `check`
510 --> $DIR/namespace-mix.rs:21:13
512 LL | fn check<T: Impossible>(_: T) {}
513 | ^^^^^^^^^^ required by this bound in `check`
515 error[E0277]: the trait bound `fn() -> c::E {c::E::TV}: Impossible` is not satisfied
516 --> $DIR/namespace-mix.rs:122:11
519 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::E {c::E::TV}`
521 | required by a bound introduced by this call
523 note: required by a bound in `check`
524 --> $DIR/namespace-mix.rs:21:13
526 LL | fn check<T: Impossible>(_: T) {}
527 | ^^^^^^^^^^ required by this bound in `check`
529 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
530 --> $DIR/namespace-mix.rs:123:11
532 LL | check(mA::TV{});
533 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
535 | required by a bound introduced by this call
537 note: required by a bound in `check`
538 --> $DIR/namespace-mix.rs:21:13
540 LL | fn check<T: Impossible>(_: T) {}
541 | ^^^^^^^^^^ required by this bound in `check`
543 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
544 --> $DIR/namespace-mix.rs:124:11
547 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
549 | required by a bound introduced by this call
551 note: required by a bound in `check`
552 --> $DIR/namespace-mix.rs:21:13
554 LL | fn check<T: Impossible>(_: T) {}
555 | ^^^^^^^^^^ required by this bound in `check`
557 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
558 --> $DIR/namespace-mix.rs:127:11
560 LL | check(xm9::TV{});
561 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
563 | required by a bound introduced by this call
565 note: required by a bound in `check`
566 --> $DIR/namespace-mix.rs:21:13
568 LL | fn check<T: Impossible>(_: T) {}
569 | ^^^^^^^^^^ required by this bound in `check`
571 error[E0277]: the trait bound `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}: Impossible` is not satisfied
572 --> $DIR/namespace-mix.rs:128:11
575 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}`
577 | required by a bound introduced by this call
579 note: required by a bound in `check`
580 --> $DIR/namespace-mix.rs:21:13
582 LL | fn check<T: Impossible>(_: T) {}
583 | ^^^^^^^^^^ required by this bound in `check`
585 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
586 --> $DIR/namespace-mix.rs:129:11
588 LL | check(xmA::TV{});
589 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
591 | required by a bound introduced by this call
593 note: required by a bound in `check`
594 --> $DIR/namespace-mix.rs:21:13
596 LL | fn check<T: Impossible>(_: T) {}
597 | ^^^^^^^^^^ required by this bound in `check`
599 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
600 --> $DIR/namespace-mix.rs:130:11
603 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
605 | required by a bound introduced by this call
607 note: required by a bound in `check`
608 --> $DIR/namespace-mix.rs:21:13
610 LL | fn check<T: Impossible>(_: T) {}
611 | ^^^^^^^^^^ required by this bound in `check`
613 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
614 --> $DIR/namespace-mix.rs:143:11
616 LL | check(mB::UV{});
617 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
619 | required by a bound introduced by this call
621 note: required by a bound in `check`
622 --> $DIR/namespace-mix.rs:21:13
624 LL | fn check<T: Impossible>(_: T) {}
625 | ^^^^^^^^^^ required by this bound in `check`
627 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
628 --> $DIR/namespace-mix.rs:144:11
631 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::E`
633 | required by a bound introduced by this call
635 note: required by a bound in `check`
636 --> $DIR/namespace-mix.rs:21:13
638 LL | fn check<T: Impossible>(_: T) {}
639 | ^^^^^^^^^^ required by this bound in `check`
641 error[E0277]: the trait bound `c::E: Impossible` is not satisfied
642 --> $DIR/namespace-mix.rs:145:11
644 LL | check(mC::UV{});
645 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
647 | required by a bound introduced by this call
649 note: required by a bound in `check`
650 --> $DIR/namespace-mix.rs:21:13
652 LL | fn check<T: Impossible>(_: T) {}
653 | ^^^^^^^^^^ required by this bound in `check`
655 error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
656 --> $DIR/namespace-mix.rs:146:11
659 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
661 | required by a bound introduced by this call
663 note: required by a bound in `check`
664 --> $DIR/namespace-mix.rs:21:13
666 LL | fn check<T: Impossible>(_: T) {}
667 | ^^^^^^^^^^ required by this bound in `check`
669 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
670 --> $DIR/namespace-mix.rs:149:11
672 LL | check(xmB::UV{});
673 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
675 | required by a bound introduced by this call
677 note: required by a bound in `check`
678 --> $DIR/namespace-mix.rs:21:13
680 LL | fn check<T: Impossible>(_: T) {}
681 | ^^^^^^^^^^ required by this bound in `check`
683 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
684 --> $DIR/namespace-mix.rs:150:11
687 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
689 | required by a bound introduced by this call
691 note: required by a bound in `check`
692 --> $DIR/namespace-mix.rs:21:13
694 LL | fn check<T: Impossible>(_: T) {}
695 | ^^^^^^^^^^ required by this bound in `check`
697 error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
698 --> $DIR/namespace-mix.rs:151:11
700 LL | check(xmC::UV{});
701 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
703 | required by a bound introduced by this call
705 note: required by a bound in `check`
706 --> $DIR/namespace-mix.rs:21:13
708 LL | fn check<T: Impossible>(_: T) {}
709 | ^^^^^^^^^^ required by this bound in `check`
711 error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
712 --> $DIR/namespace-mix.rs:152:11
715 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
717 | required by a bound introduced by this call
719 note: required by a bound in `check`
720 --> $DIR/namespace-mix.rs:21:13
722 LL | fn check<T: Impossible>(_: T) {}
723 | ^^^^^^^^^^ required by this bound in `check`
725 error: aborting due to 48 previous errors
727 Some errors have detailed explanations: E0277, E0423.
728 For more information about an error, try `rustc --explain E0277`.