]> git.proxmox.com Git - rustc.git/blame - src/test/ui/namespace/namespace-mix.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / namespace / namespace-mix.stderr
CommitLineData
b7449926 1error[E0423]: expected value, found type alias `m1::S`
0731742a 2 --> $DIR/namespace-mix.rs:34:11
b7449926 3 |
e74abb32
XL
4LL | pub struct TS();
5 | ---------------- similarly named tuple struct `TS` defined here
6...
532ac7d7 7LL | check(m1::S);
0731742a 8 | ^^^^^
b7449926
XL
9 |
10 = note: can't use a type alias as a constructor
0731742a
XL
11help: a tuple struct with a similar name exists
12 |
532ac7d7 13LL | check(m1::TS);
94222f64 14 | ~~
f9f354fc 15help: consider importing one of these items instead
b7449926
XL
16 |
17LL | use m2::S;
18 |
f035d41b 19LL | use xm2::S;
b7449926 20 |
04454e1e
FG
21help: if you import `S`, refer to it directly
22 |
23LL - check(m1::S);
24LL + check(S);
923072b8 25 |
b7449926
XL
26
27error[E0423]: expected value, found type alias `xm1::S`
0731742a 28 --> $DIR/namespace-mix.rs:40:11
b7449926 29 |
532ac7d7 30LL | check(xm1::S);
0731742a 31 | ^^^^^^
94222f64 32 |
dfeec247
XL
33 ::: $DIR/auxiliary/namespace-mix.rs:3:5
34 |
35LL | pub struct TS();
064997fb 36 | ------------- similarly named tuple struct `TS` defined here
b7449926
XL
37 |
38 = note: can't use a type alias as a constructor
0731742a
XL
39help: a tuple struct with a similar name exists
40 |
532ac7d7 41LL | check(xm1::TS);
94222f64 42 | ~~
f9f354fc 43help: consider importing one of these items instead
b7449926
XL
44 |
45LL | use m2::S;
46 |
f035d41b 47LL | use xm2::S;
b7449926 48 |
04454e1e
FG
49help: if you import `S`, refer to it directly
50 |
51LL - check(xm1::S);
52LL + check(S);
923072b8 53 |
b7449926 54
487cf647 55error[E0423]: expected value, found type alias `m7::V`
0731742a 56 --> $DIR/namespace-mix.rs:100:11
b7449926 57 |
e74abb32
XL
58LL | TV(),
59 | ---- similarly named tuple variant `TV` defined here
60...
532ac7d7 61LL | check(m7::V);
3dfed10e
XL
62 | ^^^^^
63 |
487cf647 64 = note: can't use a type alias as a constructor
0731742a
XL
65help: a tuple variant with a similar name exists
66 |
532ac7d7 67LL | check(m7::TV);
94222f64 68 | ~~
f9f354fc 69help: consider importing one of these items instead
b7449926
XL
70 |
71LL | use m8::V;
72 |
f035d41b 73LL | use xm8::V;
b7449926 74 |
04454e1e
FG
75help: if you import `V`, refer to it directly
76 |
77LL - check(m7::V);
78LL + check(V);
923072b8 79 |
b7449926 80
487cf647 81error[E0423]: expected value, found type alias `xm7::V`
0731742a 82 --> $DIR/namespace-mix.rs:106:11
b7449926 83 |
532ac7d7 84LL | check(xm7::V);
3dfed10e 85 | ^^^^^^
94222f64 86 |
487cf647 87 ::: $DIR/auxiliary/namespace-mix.rs:7:9
dfeec247
XL
88 |
89LL | TV(),
064997fb 90 | -- similarly named tuple variant `TV` defined here
e74abb32 91 |
487cf647 92 = note: can't use a type alias as a constructor
0731742a
XL
93help: a tuple variant with a similar name exists
94 |
532ac7d7 95LL | check(xm7::TV);
94222f64 96 | ~~
f9f354fc 97help: consider importing one of these items instead
b7449926
XL
98 |
99LL | use m8::V;
100 |
f035d41b 101LL | use xm8::V;
b7449926 102 |
04454e1e
FG
103help: if you import `V`, refer to it directly
104 |
105LL - check(xm7::V);
106LL + check(V);
923072b8 107 |
b7449926
XL
108
109error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 110 --> $DIR/namespace-mix.rs:33:11
b7449926 111 |
e1599b0c 112LL | check(m1::S{});
c295e0f8
XL
113 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
114 | |
115 | required by a bound introduced by this call
94222f64
XL
116 |
117note: required by a bound in `check`
118 --> $DIR/namespace-mix.rs:21:13
119 |
120LL | fn check<T: Impossible>(_: T) {}
121 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
122
123error[E0277]: the trait bound `c::S: Impossible` is not satisfied
e1599b0c 124 --> $DIR/namespace-mix.rs:35:11
b7449926 125 |
e1599b0c 126LL | check(m2::S{});
c295e0f8
XL
127 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::S`
128 | |
129 | required by a bound introduced by this call
94222f64
XL
130 |
131note: required by a bound in `check`
132 --> $DIR/namespace-mix.rs:21:13
133 |
134LL | fn check<T: Impossible>(_: T) {}
135 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
136
137error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 138 --> $DIR/namespace-mix.rs:36:11
b7449926 139 |
e1599b0c 140LL | check(m2::S);
c295e0f8
XL
141 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item`
142 | |
143 | required by a bound introduced by this call
94222f64
XL
144 |
145note: required by a bound in `check`
146 --> $DIR/namespace-mix.rs:21:13
147 |
148LL | fn check<T: Impossible>(_: T) {}
149 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
150
151error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 152 --> $DIR/namespace-mix.rs:39:11
b7449926 153 |
e1599b0c 154LL | check(xm1::S{});
c295e0f8
XL
155 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
156 | |
157 | required by a bound introduced by this call
94222f64
XL
158 |
159note: required by a bound in `check`
160 --> $DIR/namespace-mix.rs:21:13
161 |
162LL | fn check<T: Impossible>(_: T) {}
163 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
164
165error[E0277]: the trait bound `namespace_mix::c::S: Impossible` is not satisfied
e1599b0c 166 --> $DIR/namespace-mix.rs:41:11
b7449926 167 |
e1599b0c 168LL | check(xm2::S{});
c295e0f8
XL
169 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::S`
170 | |
171 | required by a bound introduced by this call
94222f64
XL
172 |
173note: required by a bound in `check`
174 --> $DIR/namespace-mix.rs:21:13
175 |
176LL | fn check<T: Impossible>(_: T) {}
177 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
178
179error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 180 --> $DIR/namespace-mix.rs:42:11
b7449926 181 |
e1599b0c 182LL | check(xm2::S);
c295e0f8
XL
183 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
184 | |
185 | required by a bound introduced by this call
94222f64
XL
186 |
187note: required by a bound in `check`
188 --> $DIR/namespace-mix.rs:21:13
189 |
190LL | fn check<T: Impossible>(_: T) {}
191 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
192
193error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 194 --> $DIR/namespace-mix.rs:55:11
b7449926 195 |
e1599b0c 196LL | check(m3::TS{});
c295e0f8
XL
197 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
198 | |
199 | required by a bound introduced by this call
94222f64
XL
200 |
201note: required by a bound in `check`
202 --> $DIR/namespace-mix.rs:21:13
203 |
204LL | fn check<T: Impossible>(_: T) {}
205 | ^^^^^^^^^^ required by this bound in `check`
b7449926 206
a1dfa0c6 207error[E0277]: the trait bound `fn() -> c::TS {c::TS}: Impossible` is not satisfied
e1599b0c 208 --> $DIR/namespace-mix.rs:56:11
b7449926 209 |
e1599b0c 210LL | check(m3::TS);
f2b60f7d 211 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::TS {c::TS}`
c295e0f8
XL
212 | |
213 | required by a bound introduced by this call
94222f64
XL
214 |
215note: required by a bound in `check`
216 --> $DIR/namespace-mix.rs:21:13
217 |
218LL | fn check<T: Impossible>(_: T) {}
219 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
220
221error[E0277]: the trait bound `c::TS: Impossible` is not satisfied
e1599b0c 222 --> $DIR/namespace-mix.rs:57:11
b7449926 223 |
e1599b0c 224LL | check(m4::TS{});
c295e0f8
XL
225 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::TS`
226 | |
227 | required by a bound introduced by this call
94222f64
XL
228 |
229note: required by a bound in `check`
230 --> $DIR/namespace-mix.rs:21:13
231 |
232LL | fn check<T: Impossible>(_: T) {}
233 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
234
235error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 236 --> $DIR/namespace-mix.rs:58:11
b7449926 237 |
e1599b0c 238LL | check(m4::TS);
c295e0f8
XL
239 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
240 | |
241 | required by a bound introduced by this call
94222f64
XL
242 |
243note: required by a bound in `check`
244 --> $DIR/namespace-mix.rs:21:13
245 |
246LL | fn check<T: Impossible>(_: T) {}
247 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
248
249error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 250 --> $DIR/namespace-mix.rs:61:11
b7449926 251 |
e1599b0c 252LL | check(xm3::TS{});
c295e0f8
XL
253 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
254 | |
255 | required by a bound introduced by this call
94222f64
XL
256 |
257note: required by a bound in `check`
258 --> $DIR/namespace-mix.rs:21:13
259 |
260LL | fn check<T: Impossible>(_: T) {}
261 | ^^^^^^^^^^ required by this bound in `check`
b7449926 262
a1dfa0c6 263error[E0277]: the trait bound `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}: Impossible` is not satisfied
e1599b0c 264 --> $DIR/namespace-mix.rs:62:11
b7449926 265 |
e1599b0c 266LL | check(xm3::TS);
f2b60f7d 267 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}`
c295e0f8
XL
268 | |
269 | required by a bound introduced by this call
94222f64
XL
270 |
271note: required by a bound in `check`
272 --> $DIR/namespace-mix.rs:21:13
273 |
274LL | fn check<T: Impossible>(_: T) {}
275 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
276
277error[E0277]: the trait bound `namespace_mix::c::TS: Impossible` is not satisfied
e1599b0c 278 --> $DIR/namespace-mix.rs:63:11
b7449926 279 |
e1599b0c 280LL | check(xm4::TS{});
c295e0f8
XL
281 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::TS`
282 | |
283 | required by a bound introduced by this call
94222f64
XL
284 |
285note: required by a bound in `check`
286 --> $DIR/namespace-mix.rs:21:13
287 |
288LL | fn check<T: Impossible>(_: T) {}
289 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
290
291error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 292 --> $DIR/namespace-mix.rs:64:11
b7449926 293 |
e1599b0c 294LL | check(xm4::TS);
c295e0f8
XL
295 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
296 | |
297 | required by a bound introduced by this call
94222f64
XL
298 |
299note: required by a bound in `check`
300 --> $DIR/namespace-mix.rs:21:13
301 |
302LL | fn check<T: Impossible>(_: T) {}
303 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
304
305error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 306 --> $DIR/namespace-mix.rs:77:11
b7449926 307 |
e1599b0c 308LL | check(m5::US{});
c295e0f8
XL
309 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
310 | |
311 | required by a bound introduced by this call
94222f64
XL
312 |
313note: required by a bound in `check`
314 --> $DIR/namespace-mix.rs:21:13
315 |
316LL | fn check<T: Impossible>(_: T) {}
317 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
318
319error[E0277]: the trait bound `c::US: Impossible` is not satisfied
e1599b0c 320 --> $DIR/namespace-mix.rs:78:11
b7449926 321 |
e1599b0c 322LL | check(m5::US);
c295e0f8
XL
323 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::US`
324 | |
325 | required by a bound introduced by this call
94222f64
XL
326 |
327note: required by a bound in `check`
328 --> $DIR/namespace-mix.rs:21:13
329 |
330LL | fn check<T: Impossible>(_: T) {}
331 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
332
333error[E0277]: the trait bound `c::US: Impossible` is not satisfied
e1599b0c 334 --> $DIR/namespace-mix.rs:79:11
b7449926 335 |
e1599b0c 336LL | check(m6::US{});
c295e0f8
XL
337 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::US`
338 | |
339 | required by a bound introduced by this call
94222f64
XL
340 |
341note: required by a bound in `check`
342 --> $DIR/namespace-mix.rs:21:13
343 |
344LL | fn check<T: Impossible>(_: T) {}
345 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
346
347error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 348 --> $DIR/namespace-mix.rs:80:11
b7449926 349 |
e1599b0c 350LL | check(m6::US);
c295e0f8
XL
351 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
352 | |
353 | required by a bound introduced by this call
94222f64
XL
354 |
355note: required by a bound in `check`
356 --> $DIR/namespace-mix.rs:21:13
357 |
358LL | fn check<T: Impossible>(_: T) {}
359 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
360
361error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 362 --> $DIR/namespace-mix.rs:83:11
b7449926 363 |
e1599b0c 364LL | check(xm5::US{});
c295e0f8
XL
365 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
366 | |
367 | required by a bound introduced by this call
94222f64
XL
368 |
369note: required by a bound in `check`
370 --> $DIR/namespace-mix.rs:21:13
371 |
372LL | fn check<T: Impossible>(_: T) {}
373 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
374
375error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
e1599b0c 376 --> $DIR/namespace-mix.rs:84:11
b7449926 377 |
e1599b0c 378LL | check(xm5::US);
c295e0f8
XL
379 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
380 | |
381 | required by a bound introduced by this call
94222f64
XL
382 |
383note: required by a bound in `check`
384 --> $DIR/namespace-mix.rs:21:13
385 |
386LL | fn check<T: Impossible>(_: T) {}
387 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
388
389error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied
e1599b0c 390 --> $DIR/namespace-mix.rs:85:11
b7449926 391 |
e1599b0c 392LL | check(xm6::US{});
c295e0f8
XL
393 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US`
394 | |
395 | required by a bound introduced by this call
94222f64
XL
396 |
397note: required by a bound in `check`
398 --> $DIR/namespace-mix.rs:21:13
399 |
400LL | fn check<T: Impossible>(_: T) {}
401 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
402
403error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 404 --> $DIR/namespace-mix.rs:86:11
b7449926 405 |
e1599b0c 406LL | check(xm6::US);
c295e0f8
XL
407 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
408 | |
409 | required by a bound introduced by this call
94222f64
XL
410 |
411note: required by a bound in `check`
412 --> $DIR/namespace-mix.rs:21:13
413 |
414LL | fn check<T: Impossible>(_: T) {}
415 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
416
417error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 418 --> $DIR/namespace-mix.rs:99:11
b7449926 419 |
e1599b0c 420LL | check(m7::V{});
c295e0f8
XL
421 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
422 | |
423 | required by a bound introduced by this call
94222f64
XL
424 |
425note: required by a bound in `check`
426 --> $DIR/namespace-mix.rs:21:13
427 |
428LL | fn check<T: Impossible>(_: T) {}
429 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
430
431error[E0277]: the trait bound `c::E: Impossible` is not satisfied
e1599b0c 432 --> $DIR/namespace-mix.rs:101:11
b7449926 433 |
e1599b0c 434LL | check(m8::V{});
c295e0f8
XL
435 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::E`
436 | |
437 | required by a bound introduced by this call
94222f64
XL
438 |
439note: required by a bound in `check`
440 --> $DIR/namespace-mix.rs:21:13
441 |
442LL | fn check<T: Impossible>(_: T) {}
443 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
444
445error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 446 --> $DIR/namespace-mix.rs:102:11
b7449926 447 |
e1599b0c 448LL | check(m8::V);
c295e0f8
XL
449 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item`
450 | |
451 | required by a bound introduced by this call
94222f64
XL
452 |
453note: required by a bound in `check`
454 --> $DIR/namespace-mix.rs:21:13
455 |
456LL | fn check<T: Impossible>(_: T) {}
457 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
458
459error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 460 --> $DIR/namespace-mix.rs:105:11
b7449926 461 |
e1599b0c 462LL | check(xm7::V{});
c295e0f8
XL
463 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
464 | |
465 | required by a bound introduced by this call
94222f64
XL
466 |
467note: required by a bound in `check`
468 --> $DIR/namespace-mix.rs:21:13
469 |
470LL | fn check<T: Impossible>(_: T) {}
471 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
472
473error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
e1599b0c 474 --> $DIR/namespace-mix.rs:107:11
b7449926 475 |
e1599b0c 476LL | check(xm8::V{});
c295e0f8
XL
477 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
478 | |
479 | required by a bound introduced by this call
94222f64
XL
480 |
481note: required by a bound in `check`
482 --> $DIR/namespace-mix.rs:21:13
483 |
484LL | fn check<T: Impossible>(_: T) {}
485 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
486
487error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 488 --> $DIR/namespace-mix.rs:108:11
b7449926 489 |
e1599b0c 490LL | check(xm8::V);
c295e0f8
XL
491 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
492 | |
493 | required by a bound introduced by this call
94222f64
XL
494 |
495note: required by a bound in `check`
496 --> $DIR/namespace-mix.rs:21:13
497 |
498LL | fn check<T: Impossible>(_: T) {}
499 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
500
501error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 502 --> $DIR/namespace-mix.rs:121:11
b7449926 503 |
e1599b0c 504LL | check(m9::TV{});
c295e0f8
XL
505 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
506 | |
507 | required by a bound introduced by this call
94222f64
XL
508 |
509note: required by a bound in `check`
510 --> $DIR/namespace-mix.rs:21:13
511 |
512LL | fn check<T: Impossible>(_: T) {}
513 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
514
515error[E0277]: the trait bound `fn() -> c::E {c::E::TV}: Impossible` is not satisfied
e1599b0c 516 --> $DIR/namespace-mix.rs:122:11
b7449926 517 |
e1599b0c 518LL | check(m9::TV);
f2b60f7d 519 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::E {c::E::TV}`
c295e0f8
XL
520 | |
521 | required by a bound introduced by this call
94222f64
XL
522 |
523note: required by a bound in `check`
524 --> $DIR/namespace-mix.rs:21:13
525 |
526LL | fn check<T: Impossible>(_: T) {}
527 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
528
529error[E0277]: the trait bound `c::E: Impossible` is not satisfied
e1599b0c 530 --> $DIR/namespace-mix.rs:123:11
b7449926 531 |
e1599b0c 532LL | check(mA::TV{});
c295e0f8
XL
533 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
534 | |
535 | required by a bound introduced by this call
94222f64
XL
536 |
537note: required by a bound in `check`
538 --> $DIR/namespace-mix.rs:21:13
539 |
540LL | fn check<T: Impossible>(_: T) {}
541 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
542
543error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 544 --> $DIR/namespace-mix.rs:124:11
b7449926 545 |
e1599b0c 546LL | check(mA::TV);
c295e0f8
XL
547 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
548 | |
549 | required by a bound introduced by this call
94222f64
XL
550 |
551note: required by a bound in `check`
552 --> $DIR/namespace-mix.rs:21:13
553 |
554LL | fn check<T: Impossible>(_: T) {}
555 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
556
557error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 558 --> $DIR/namespace-mix.rs:127:11
b7449926 559 |
e1599b0c 560LL | check(xm9::TV{});
c295e0f8
XL
561 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
562 | |
563 | required by a bound introduced by this call
94222f64
XL
564 |
565note: required by a bound in `check`
566 --> $DIR/namespace-mix.rs:21:13
567 |
568LL | fn check<T: Impossible>(_: T) {}
569 | ^^^^^^^^^^ required by this bound in `check`
b7449926 570
532ac7d7 571error[E0277]: the trait bound `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}: Impossible` is not satisfied
e1599b0c 572 --> $DIR/namespace-mix.rs:128:11
b7449926 573 |
e1599b0c 574LL | check(xm9::TV);
f2b60f7d 575 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}`
c295e0f8
XL
576 | |
577 | required by a bound introduced by this call
94222f64
XL
578 |
579note: required by a bound in `check`
580 --> $DIR/namespace-mix.rs:21:13
581 |
582LL | fn check<T: Impossible>(_: T) {}
583 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
584
585error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
e1599b0c 586 --> $DIR/namespace-mix.rs:129:11
b7449926 587 |
e1599b0c 588LL | check(xmA::TV{});
c295e0f8
XL
589 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
590 | |
591 | required by a bound introduced by this call
94222f64
XL
592 |
593note: required by a bound in `check`
594 --> $DIR/namespace-mix.rs:21:13
595 |
596LL | fn check<T: Impossible>(_: T) {}
597 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
598
599error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 600 --> $DIR/namespace-mix.rs:130:11
b7449926 601 |
e1599b0c 602LL | check(xmA::TV);
c295e0f8
XL
603 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
604 | |
605 | required by a bound introduced by this call
94222f64
XL
606 |
607note: required by a bound in `check`
608 --> $DIR/namespace-mix.rs:21:13
609 |
610LL | fn check<T: Impossible>(_: T) {}
611 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
612
613error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 614 --> $DIR/namespace-mix.rs:143:11
b7449926 615 |
e1599b0c 616LL | check(mB::UV{});
c295e0f8
XL
617 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item`
618 | |
619 | required by a bound introduced by this call
94222f64
XL
620 |
621note: required by a bound in `check`
622 --> $DIR/namespace-mix.rs:21:13
623 |
624LL | fn check<T: Impossible>(_: T) {}
625 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
626
627error[E0277]: the trait bound `c::E: Impossible` is not satisfied
e1599b0c 628 --> $DIR/namespace-mix.rs:144:11
b7449926 629 |
e1599b0c 630LL | check(mB::UV);
c295e0f8
XL
631 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::E`
632 | |
633 | required by a bound introduced by this call
94222f64
XL
634 |
635note: required by a bound in `check`
636 --> $DIR/namespace-mix.rs:21:13
637 |
638LL | fn check<T: Impossible>(_: T) {}
639 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
640
641error[E0277]: the trait bound `c::E: Impossible` is not satisfied
e1599b0c 642 --> $DIR/namespace-mix.rs:145:11
b7449926 643 |
e1599b0c 644LL | check(mC::UV{});
c295e0f8
XL
645 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E`
646 | |
647 | required by a bound introduced by this call
94222f64
XL
648 |
649note: required by a bound in `check`
650 --> $DIR/namespace-mix.rs:21:13
651 |
652LL | fn check<T: Impossible>(_: T) {}
653 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
654
655error[E0277]: the trait bound `c::Item: Impossible` is not satisfied
e1599b0c 656 --> $DIR/namespace-mix.rs:146:11
b7449926 657 |
e1599b0c 658LL | check(mC::UV);
c295e0f8
XL
659 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item`
660 | |
661 | required by a bound introduced by this call
94222f64
XL
662 |
663note: required by a bound in `check`
664 --> $DIR/namespace-mix.rs:21:13
665 |
666LL | fn check<T: Impossible>(_: T) {}
667 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
668
669error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 670 --> $DIR/namespace-mix.rs:149:11
b7449926 671 |
e1599b0c 672LL | check(xmB::UV{});
c295e0f8
XL
673 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
674 | |
675 | required by a bound introduced by this call
94222f64
XL
676 |
677note: required by a bound in `check`
678 --> $DIR/namespace-mix.rs:21:13
679 |
680LL | fn check<T: Impossible>(_: T) {}
681 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
682
683error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
e1599b0c 684 --> $DIR/namespace-mix.rs:150:11
b7449926 685 |
e1599b0c 686LL | check(xmB::UV);
c295e0f8
XL
687 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
688 | |
689 | required by a bound introduced by this call
94222f64
XL
690 |
691note: required by a bound in `check`
692 --> $DIR/namespace-mix.rs:21:13
693 |
694LL | fn check<T: Impossible>(_: T) {}
695 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
696
697error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied
e1599b0c 698 --> $DIR/namespace-mix.rs:151:11
b7449926 699 |
e1599b0c 700LL | check(xmC::UV{});
c295e0f8
XL
701 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E`
702 | |
703 | required by a bound introduced by this call
94222f64
XL
704 |
705note: required by a bound in `check`
706 --> $DIR/namespace-mix.rs:21:13
707 |
708LL | fn check<T: Impossible>(_: T) {}
709 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
710
711error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied
e1599b0c 712 --> $DIR/namespace-mix.rs:152:11
b7449926 713 |
e1599b0c 714LL | check(xmC::UV);
c295e0f8
XL
715 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item`
716 | |
717 | required by a bound introduced by this call
94222f64
XL
718 |
719note: required by a bound in `check`
720 --> $DIR/namespace-mix.rs:21:13
721 |
722LL | fn check<T: Impossible>(_: T) {}
723 | ^^^^^^^^^^ required by this bound in `check`
b7449926
XL
724
725error: aborting due to 48 previous errors
726
48663c56 727Some errors have detailed explanations: E0277, E0423.
b7449926 728For more information about an error, try `rustc --explain E0277`.