fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0423]: expected value, found type alias `m1::S` 2 --> $DIR/namespace-mix.rs:34:11 3 | 4LL | pub struct TS(); 5 | ---------------- similarly named tuple struct `TS` defined here 6... 7LL | check(m1::S); 8 | ^^^^^ 9 | 10 = note: can't use a type alias as a constructor 11help: a tuple struct with a similar name exists 12 | 13LL | check(m1::TS); 14 | ~~ 15help: consider importing one of these items instead 16 | 17LL + use m2::S; 18 | 19LL + use xm2::S; 20 | 21help: if you import `S`, refer to it directly 22 | 23LL - check(m1::S); 24LL + check(S); 25 | 26 27error[E0423]: expected value, found type alias `xm1::S` 28 --> $DIR/namespace-mix.rs:40:11 29 | 30LL | check(xm1::S); 31 | ^^^^^^ 32 | 33 ::: $DIR/auxiliary/namespace-mix.rs:3:5 34 | 35LL | pub struct TS(); 36 | ------------- similarly named tuple struct `TS` defined here 37 | 38 = note: can't use a type alias as a constructor 39help: a tuple struct with a similar name exists 40 | 41LL | check(xm1::TS); 42 | ~~ 43help: consider importing one of these items instead 44 | 45LL + use m2::S; 46 | 47LL + use xm2::S; 48 | 49help: if you import `S`, refer to it directly 50 | 51LL - check(xm1::S); 52LL + check(S); 53 | 54 55error[E0423]: expected value, found type alias `m7::V` 56 --> $DIR/namespace-mix.rs:100:11 57 | 58LL | TV(), 59 | ---- similarly named tuple variant `TV` defined here 60... 61LL | check(m7::V); 62 | ^^^^^ 63 | 64 = note: can't use a type alias as a constructor 65help: a tuple variant with a similar name exists 66 | 67LL | check(m7::TV); 68 | ~~ 69help: consider importing one of these items instead 70 | 71LL + use m8::V; 72 | 73LL + use xm8::V; 74 | 75help: if you import `V`, refer to it directly 76 | 77LL - check(m7::V); 78LL + check(V); 79 | 80 81error[E0423]: expected value, found type alias `xm7::V` 82 --> $DIR/namespace-mix.rs:106:11 83 | 84LL | check(xm7::V); 85 | ^^^^^^ 86 | 87 ::: $DIR/auxiliary/namespace-mix.rs:7:9 88 | 89LL | TV(), 90 | -- similarly named tuple variant `TV` defined here 91 | 92 = note: can't use a type alias as a constructor 93help: a tuple variant with a similar name exists 94 | 95LL | check(xm7::TV); 96 | ~~ 97help: consider importing one of these items instead 98 | 99LL + use m8::V; 100 | 101LL + use xm8::V; 102 | 103help: if you import `V`, refer to it directly 104 | 105LL - check(xm7::V); 106LL + check(V); 107 | 108 109error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 110 --> $DIR/namespace-mix.rs:33:11 111 | 112LL | check(m1::S{}); 113 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 114 | | 115 | required by a bound introduced by this call 116 | 117help: this trait has no implementations, consider adding one 118 --> $DIR/namespace-mix.rs:20:1 119 | 120LL | trait Impossible {} 121 | ^^^^^^^^^^^^^^^^ 122note: required by a bound in `check` 123 --> $DIR/namespace-mix.rs:21:13 124 | 125LL | fn check<T: Impossible>(_: T) {} 126 | ^^^^^^^^^^ required by this bound in `check` 127 128error[E0277]: the trait bound `c::S: Impossible` is not satisfied 129 --> $DIR/namespace-mix.rs:35:11 130 | 131LL | check(m2::S{}); 132 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::S` 133 | | 134 | required by a bound introduced by this call 135 | 136help: this trait has no implementations, consider adding one 137 --> $DIR/namespace-mix.rs:20:1 138 | 139LL | trait Impossible {} 140 | ^^^^^^^^^^^^^^^^ 141note: required by a bound in `check` 142 --> $DIR/namespace-mix.rs:21:13 143 | 144LL | fn check<T: Impossible>(_: T) {} 145 | ^^^^^^^^^^ required by this bound in `check` 146 147error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 148 --> $DIR/namespace-mix.rs:36:11 149 | 150LL | check(m2::S); 151 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item` 152 | | 153 | required by a bound introduced by this call 154 | 155help: this trait has no implementations, consider adding one 156 --> $DIR/namespace-mix.rs:20:1 157 | 158LL | trait Impossible {} 159 | ^^^^^^^^^^^^^^^^ 160note: required by a bound in `check` 161 --> $DIR/namespace-mix.rs:21:13 162 | 163LL | fn check<T: Impossible>(_: T) {} 164 | ^^^^^^^^^^ required by this bound in `check` 165 166error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 167 --> $DIR/namespace-mix.rs:39:11 168 | 169LL | check(xm1::S{}); 170 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 171 | | 172 | required by a bound introduced by this call 173 | 174help: this trait has no implementations, consider adding one 175 --> $DIR/namespace-mix.rs:20:1 176 | 177LL | trait Impossible {} 178 | ^^^^^^^^^^^^^^^^ 179note: required by a bound in `check` 180 --> $DIR/namespace-mix.rs:21:13 181 | 182LL | fn check<T: Impossible>(_: T) {} 183 | ^^^^^^^^^^ required by this bound in `check` 184 185error[E0277]: the trait bound `namespace_mix::c::S: Impossible` is not satisfied 186 --> $DIR/namespace-mix.rs:41:11 187 | 188LL | check(xm2::S{}); 189 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::S` 190 | | 191 | required by a bound introduced by this call 192 | 193help: this trait has no implementations, consider adding one 194 --> $DIR/namespace-mix.rs:20:1 195 | 196LL | trait Impossible {} 197 | ^^^^^^^^^^^^^^^^ 198note: required by a bound in `check` 199 --> $DIR/namespace-mix.rs:21:13 200 | 201LL | fn check<T: Impossible>(_: T) {} 202 | ^^^^^^^^^^ required by this bound in `check` 203 204error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 205 --> $DIR/namespace-mix.rs:42:11 206 | 207LL | check(xm2::S); 208 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 209 | | 210 | required by a bound introduced by this call 211 | 212help: this trait has no implementations, consider adding one 213 --> $DIR/namespace-mix.rs:20:1 214 | 215LL | trait Impossible {} 216 | ^^^^^^^^^^^^^^^^ 217note: required by a bound in `check` 218 --> $DIR/namespace-mix.rs:21:13 219 | 220LL | fn check<T: Impossible>(_: T) {} 221 | ^^^^^^^^^^ required by this bound in `check` 222 223error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 224 --> $DIR/namespace-mix.rs:55:11 225 | 226LL | check(m3::TS{}); 227 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 228 | | 229 | required by a bound introduced by this call 230 | 231help: this trait has no implementations, consider adding one 232 --> $DIR/namespace-mix.rs:20:1 233 | 234LL | trait Impossible {} 235 | ^^^^^^^^^^^^^^^^ 236note: required by a bound in `check` 237 --> $DIR/namespace-mix.rs:21:13 238 | 239LL | fn check<T: Impossible>(_: T) {} 240 | ^^^^^^^^^^ required by this bound in `check` 241 242error[E0277]: the trait bound `fn() -> c::TS {c::TS}: Impossible` is not satisfied 243 --> $DIR/namespace-mix.rs:56:11 244 | 245LL | check(m3::TS); 246 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::TS {c::TS}` 247 | | 248 | required by a bound introduced by this call 249 | 250help: this trait has no implementations, consider adding one 251 --> $DIR/namespace-mix.rs:20:1 252 | 253LL | trait Impossible {} 254 | ^^^^^^^^^^^^^^^^ 255note: required by a bound in `check` 256 --> $DIR/namespace-mix.rs:21:13 257 | 258LL | fn check<T: Impossible>(_: T) {} 259 | ^^^^^^^^^^ required by this bound in `check` 260 261error[E0277]: the trait bound `c::TS: Impossible` is not satisfied 262 --> $DIR/namespace-mix.rs:57:11 263 | 264LL | check(m4::TS{}); 265 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::TS` 266 | | 267 | required by a bound introduced by this call 268 | 269help: this trait has no implementations, consider adding one 270 --> $DIR/namespace-mix.rs:20:1 271 | 272LL | trait Impossible {} 273 | ^^^^^^^^^^^^^^^^ 274note: required by a bound in `check` 275 --> $DIR/namespace-mix.rs:21:13 276 | 277LL | fn check<T: Impossible>(_: T) {} 278 | ^^^^^^^^^^ required by this bound in `check` 279 280error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 281 --> $DIR/namespace-mix.rs:58:11 282 | 283LL | check(m4::TS); 284 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item` 285 | | 286 | required by a bound introduced by this call 287 | 288help: this trait has no implementations, consider adding one 289 --> $DIR/namespace-mix.rs:20:1 290 | 291LL | trait Impossible {} 292 | ^^^^^^^^^^^^^^^^ 293note: required by a bound in `check` 294 --> $DIR/namespace-mix.rs:21:13 295 | 296LL | fn check<T: Impossible>(_: T) {} 297 | ^^^^^^^^^^ required by this bound in `check` 298 299error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 300 --> $DIR/namespace-mix.rs:61:11 301 | 302LL | check(xm3::TS{}); 303 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 304 | | 305 | required by a bound introduced by this call 306 | 307help: this trait has no implementations, consider adding one 308 --> $DIR/namespace-mix.rs:20:1 309 | 310LL | trait Impossible {} 311 | ^^^^^^^^^^^^^^^^ 312note: required by a bound in `check` 313 --> $DIR/namespace-mix.rs:21:13 314 | 315LL | fn check<T: Impossible>(_: T) {} 316 | ^^^^^^^^^^ required by this bound in `check` 317 318error[E0277]: the trait bound `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}: Impossible` is not satisfied 319 --> $DIR/namespace-mix.rs:62:11 320 | 321LL | check(xm3::TS); 322 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::TS {namespace_mix::c::TS}` 323 | | 324 | required by a bound introduced by this call 325 | 326help: this trait has no implementations, consider adding one 327 --> $DIR/namespace-mix.rs:20:1 328 | 329LL | trait Impossible {} 330 | ^^^^^^^^^^^^^^^^ 331note: required by a bound in `check` 332 --> $DIR/namespace-mix.rs:21:13 333 | 334LL | fn check<T: Impossible>(_: T) {} 335 | ^^^^^^^^^^ required by this bound in `check` 336 337error[E0277]: the trait bound `namespace_mix::c::TS: Impossible` is not satisfied 338 --> $DIR/namespace-mix.rs:63:11 339 | 340LL | check(xm4::TS{}); 341 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::TS` 342 | | 343 | required by a bound introduced by this call 344 | 345help: this trait has no implementations, consider adding one 346 --> $DIR/namespace-mix.rs:20:1 347 | 348LL | trait Impossible {} 349 | ^^^^^^^^^^^^^^^^ 350note: required by a bound in `check` 351 --> $DIR/namespace-mix.rs:21:13 352 | 353LL | fn check<T: Impossible>(_: T) {} 354 | ^^^^^^^^^^ required by this bound in `check` 355 356error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 357 --> $DIR/namespace-mix.rs:64:11 358 | 359LL | check(xm4::TS); 360 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 361 | | 362 | required by a bound introduced by this call 363 | 364help: this trait has no implementations, consider adding one 365 --> $DIR/namespace-mix.rs:20:1 366 | 367LL | trait Impossible {} 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` 374 375error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 376 --> $DIR/namespace-mix.rs:77:11 377 | 378LL | check(m5::US{}); 379 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 380 | | 381 | required by a bound introduced by this call 382 | 383help: this trait has no implementations, consider adding one 384 --> $DIR/namespace-mix.rs:20:1 385 | 386LL | trait Impossible {} 387 | ^^^^^^^^^^^^^^^^ 388note: required by a bound in `check` 389 --> $DIR/namespace-mix.rs:21:13 390 | 391LL | fn check<T: Impossible>(_: T) {} 392 | ^^^^^^^^^^ required by this bound in `check` 393 394error[E0277]: the trait bound `c::US: Impossible` is not satisfied 395 --> $DIR/namespace-mix.rs:78:11 396 | 397LL | check(m5::US); 398 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::US` 399 | | 400 | required by a bound introduced by this call 401 | 402help: this trait has no implementations, consider adding one 403 --> $DIR/namespace-mix.rs:20:1 404 | 405LL | trait Impossible {} 406 | ^^^^^^^^^^^^^^^^ 407note: required by a bound in `check` 408 --> $DIR/namespace-mix.rs:21:13 409 | 410LL | fn check<T: Impossible>(_: T) {} 411 | ^^^^^^^^^^ required by this bound in `check` 412 413error[E0277]: the trait bound `c::US: Impossible` is not satisfied 414 --> $DIR/namespace-mix.rs:79:11 415 | 416LL | check(m6::US{}); 417 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::US` 418 | | 419 | required by a bound introduced by this call 420 | 421help: this trait has no implementations, consider adding one 422 --> $DIR/namespace-mix.rs:20:1 423 | 424LL | trait Impossible {} 425 | ^^^^^^^^^^^^^^^^ 426note: required by a bound in `check` 427 --> $DIR/namespace-mix.rs:21:13 428 | 429LL | fn check<T: Impossible>(_: T) {} 430 | ^^^^^^^^^^ required by this bound in `check` 431 432error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 433 --> $DIR/namespace-mix.rs:80:11 434 | 435LL | check(m6::US); 436 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item` 437 | | 438 | required by a bound introduced by this call 439 | 440help: this trait has no implementations, consider adding one 441 --> $DIR/namespace-mix.rs:20:1 442 | 443LL | trait Impossible {} 444 | ^^^^^^^^^^^^^^^^ 445note: required by a bound in `check` 446 --> $DIR/namespace-mix.rs:21:13 447 | 448LL | fn check<T: Impossible>(_: T) {} 449 | ^^^^^^^^^^ required by this bound in `check` 450 451error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 452 --> $DIR/namespace-mix.rs:83:11 453 | 454LL | check(xm5::US{}); 455 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 456 | | 457 | required by a bound introduced by this call 458 | 459help: this trait has no implementations, consider adding one 460 --> $DIR/namespace-mix.rs:20:1 461 | 462LL | trait Impossible {} 463 | ^^^^^^^^^^^^^^^^ 464note: required by a bound in `check` 465 --> $DIR/namespace-mix.rs:21:13 466 | 467LL | fn check<T: Impossible>(_: T) {} 468 | ^^^^^^^^^^ required by this bound in `check` 469 470error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied 471 --> $DIR/namespace-mix.rs:84:11 472 | 473LL | check(xm5::US); 474 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US` 475 | | 476 | required by a bound introduced by this call 477 | 478help: this trait has no implementations, consider adding one 479 --> $DIR/namespace-mix.rs:20:1 480 | 481LL | trait Impossible {} 482 | ^^^^^^^^^^^^^^^^ 483note: required by a bound in `check` 484 --> $DIR/namespace-mix.rs:21:13 485 | 486LL | fn check<T: Impossible>(_: T) {} 487 | ^^^^^^^^^^ required by this bound in `check` 488 489error[E0277]: the trait bound `namespace_mix::c::US: Impossible` is not satisfied 490 --> $DIR/namespace-mix.rs:85:11 491 | 492LL | check(xm6::US{}); 493 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::US` 494 | | 495 | required by a bound introduced by this call 496 | 497help: this trait has no implementations, consider adding one 498 --> $DIR/namespace-mix.rs:20:1 499 | 500LL | trait Impossible {} 501 | ^^^^^^^^^^^^^^^^ 502note: required by a bound in `check` 503 --> $DIR/namespace-mix.rs:21:13 504 | 505LL | fn check<T: Impossible>(_: T) {} 506 | ^^^^^^^^^^ required by this bound in `check` 507 508error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 509 --> $DIR/namespace-mix.rs:86:11 510 | 511LL | check(xm6::US); 512 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 513 | | 514 | required by a bound introduced by this call 515 | 516help: this trait has no implementations, consider adding one 517 --> $DIR/namespace-mix.rs:20:1 518 | 519LL | trait Impossible {} 520 | ^^^^^^^^^^^^^^^^ 521note: required by a bound in `check` 522 --> $DIR/namespace-mix.rs:21:13 523 | 524LL | fn check<T: Impossible>(_: T) {} 525 | ^^^^^^^^^^ required by this bound in `check` 526 527error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 528 --> $DIR/namespace-mix.rs:99:11 529 | 530LL | check(m7::V{}); 531 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 532 | | 533 | required by a bound introduced by this call 534 | 535help: this trait has no implementations, consider adding one 536 --> $DIR/namespace-mix.rs:20:1 537 | 538LL | trait Impossible {} 539 | ^^^^^^^^^^^^^^^^ 540note: required by a bound in `check` 541 --> $DIR/namespace-mix.rs:21:13 542 | 543LL | fn check<T: Impossible>(_: T) {} 544 | ^^^^^^^^^^ required by this bound in `check` 545 546error[E0277]: the trait bound `c::E: Impossible` is not satisfied 547 --> $DIR/namespace-mix.rs:101:11 548 | 549LL | check(m8::V{}); 550 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `c::E` 551 | | 552 | required by a bound introduced by this call 553 | 554help: this trait has no implementations, consider adding one 555 --> $DIR/namespace-mix.rs:20:1 556 | 557LL | trait Impossible {} 558 | ^^^^^^^^^^^^^^^^ 559note: required by a bound in `check` 560 --> $DIR/namespace-mix.rs:21:13 561 | 562LL | fn check<T: Impossible>(_: T) {} 563 | ^^^^^^^^^^ required by this bound in `check` 564 565error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 566 --> $DIR/namespace-mix.rs:102:11 567 | 568LL | check(m8::V); 569 | ----- ^^^^^ the trait `Impossible` is not implemented for `c::Item` 570 | | 571 | required by a bound introduced by this call 572 | 573help: this trait has no implementations, consider adding one 574 --> $DIR/namespace-mix.rs:20:1 575 | 576LL | trait Impossible {} 577 | ^^^^^^^^^^^^^^^^ 578note: required by a bound in `check` 579 --> $DIR/namespace-mix.rs:21:13 580 | 581LL | fn check<T: Impossible>(_: T) {} 582 | ^^^^^^^^^^ required by this bound in `check` 583 584error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 585 --> $DIR/namespace-mix.rs:105:11 586 | 587LL | check(xm7::V{}); 588 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 589 | | 590 | required by a bound introduced by this call 591 | 592help: this trait has no implementations, consider adding one 593 --> $DIR/namespace-mix.rs:20:1 594 | 595LL | trait Impossible {} 596 | ^^^^^^^^^^^^^^^^ 597note: required by a bound in `check` 598 --> $DIR/namespace-mix.rs:21:13 599 | 600LL | fn check<T: Impossible>(_: T) {} 601 | ^^^^^^^^^^ required by this bound in `check` 602 603error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied 604 --> $DIR/namespace-mix.rs:107:11 605 | 606LL | check(xm8::V{}); 607 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` 608 | | 609 | required by a bound introduced by this call 610 | 611help: this trait has no implementations, consider adding one 612 --> $DIR/namespace-mix.rs:20:1 613 | 614LL | trait Impossible {} 615 | ^^^^^^^^^^^^^^^^ 616note: required by a bound in `check` 617 --> $DIR/namespace-mix.rs:21:13 618 | 619LL | fn check<T: Impossible>(_: T) {} 620 | ^^^^^^^^^^ required by this bound in `check` 621 622error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 623 --> $DIR/namespace-mix.rs:108:11 624 | 625LL | check(xm8::V); 626 | ----- ^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 627 | | 628 | required by a bound introduced by this call 629 | 630help: this trait has no implementations, consider adding one 631 --> $DIR/namespace-mix.rs:20:1 632 | 633LL | trait Impossible {} 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` 640 641error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 642 --> $DIR/namespace-mix.rs:121:11 643 | 644LL | check(m9::TV{}); 645 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 646 | | 647 | required by a bound introduced by this call 648 | 649help: this trait has no implementations, consider adding one 650 --> $DIR/namespace-mix.rs:20:1 651 | 652LL | trait Impossible {} 653 | ^^^^^^^^^^^^^^^^ 654note: required by a bound in `check` 655 --> $DIR/namespace-mix.rs:21:13 656 | 657LL | fn check<T: Impossible>(_: T) {} 658 | ^^^^^^^^^^ required by this bound in `check` 659 660error[E0277]: the trait bound `fn() -> c::E {c::E::TV}: Impossible` is not satisfied 661 --> $DIR/namespace-mix.rs:122:11 662 | 663LL | check(m9::TV); 664 | ----- ^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> c::E {c::E::TV}` 665 | | 666 | required by a bound introduced by this call 667 | 668help: this trait has no implementations, consider adding one 669 --> $DIR/namespace-mix.rs:20:1 670 | 671LL | trait Impossible {} 672 | ^^^^^^^^^^^^^^^^ 673note: required by a bound in `check` 674 --> $DIR/namespace-mix.rs:21:13 675 | 676LL | fn check<T: Impossible>(_: T) {} 677 | ^^^^^^^^^^ required by this bound in `check` 678 679error[E0277]: the trait bound `c::E: Impossible` is not satisfied 680 --> $DIR/namespace-mix.rs:123:11 681 | 682LL | check(mA::TV{}); 683 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E` 684 | | 685 | required by a bound introduced by this call 686 | 687help: this trait has no implementations, consider adding one 688 --> $DIR/namespace-mix.rs:20:1 689 | 690LL | trait Impossible {} 691 | ^^^^^^^^^^^^^^^^ 692note: required by a bound in `check` 693 --> $DIR/namespace-mix.rs:21:13 694 | 695LL | fn check<T: Impossible>(_: T) {} 696 | ^^^^^^^^^^ required by this bound in `check` 697 698error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 699 --> $DIR/namespace-mix.rs:124:11 700 | 701LL | check(mA::TV); 702 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item` 703 | | 704 | required by a bound introduced by this call 705 | 706help: this trait has no implementations, consider adding one 707 --> $DIR/namespace-mix.rs:20:1 708 | 709LL | trait Impossible {} 710 | ^^^^^^^^^^^^^^^^ 711note: required by a bound in `check` 712 --> $DIR/namespace-mix.rs:21:13 713 | 714LL | fn check<T: Impossible>(_: T) {} 715 | ^^^^^^^^^^ required by this bound in `check` 716 717error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 718 --> $DIR/namespace-mix.rs:127:11 719 | 720LL | check(xm9::TV{}); 721 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 722 | | 723 | required by a bound introduced by this call 724 | 725help: this trait has no implementations, consider adding one 726 --> $DIR/namespace-mix.rs:20:1 727 | 728LL | trait Impossible {} 729 | ^^^^^^^^^^^^^^^^ 730note: required by a bound in `check` 731 --> $DIR/namespace-mix.rs:21:13 732 | 733LL | fn check<T: Impossible>(_: T) {} 734 | ^^^^^^^^^^ required by this bound in `check` 735 736error[E0277]: the trait bound `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}: Impossible` is not satisfied 737 --> $DIR/namespace-mix.rs:128:11 738 | 739LL | check(xm9::TV); 740 | ----- ^^^^^^^ the trait `Impossible` is not implemented for fn item `fn() -> namespace_mix::c::E {namespace_mix::xm7::TV}` 741 | | 742 | required by a bound introduced by this call 743 | 744help: this trait has no implementations, consider adding one 745 --> $DIR/namespace-mix.rs:20:1 746 | 747LL | trait Impossible {} 748 | ^^^^^^^^^^^^^^^^ 749note: required by a bound in `check` 750 --> $DIR/namespace-mix.rs:21:13 751 | 752LL | fn check<T: Impossible>(_: T) {} 753 | ^^^^^^^^^^ required by this bound in `check` 754 755error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied 756 --> $DIR/namespace-mix.rs:129:11 757 | 758LL | check(xmA::TV{}); 759 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` 760 | | 761 | required by a bound introduced by this call 762 | 763help: this trait has no implementations, consider adding one 764 --> $DIR/namespace-mix.rs:20:1 765 | 766LL | trait Impossible {} 767 | ^^^^^^^^^^^^^^^^ 768note: required by a bound in `check` 769 --> $DIR/namespace-mix.rs:21:13 770 | 771LL | fn check<T: Impossible>(_: T) {} 772 | ^^^^^^^^^^ required by this bound in `check` 773 774error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 775 --> $DIR/namespace-mix.rs:130:11 776 | 777LL | check(xmA::TV); 778 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 779 | | 780 | required by a bound introduced by this call 781 | 782help: this trait has no implementations, consider adding one 783 --> $DIR/namespace-mix.rs:20:1 784 | 785LL | trait Impossible {} 786 | ^^^^^^^^^^^^^^^^ 787note: required by a bound in `check` 788 --> $DIR/namespace-mix.rs:21:13 789 | 790LL | fn check<T: Impossible>(_: T) {} 791 | ^^^^^^^^^^ required by this bound in `check` 792 793error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 794 --> $DIR/namespace-mix.rs:143:11 795 | 796LL | check(mB::UV{}); 797 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::Item` 798 | | 799 | required by a bound introduced by this call 800 | 801help: this trait has no implementations, consider adding one 802 --> $DIR/namespace-mix.rs:20:1 803 | 804LL | trait Impossible {} 805 | ^^^^^^^^^^^^^^^^ 806note: required by a bound in `check` 807 --> $DIR/namespace-mix.rs:21:13 808 | 809LL | fn check<T: Impossible>(_: T) {} 810 | ^^^^^^^^^^ required by this bound in `check` 811 812error[E0277]: the trait bound `c::E: Impossible` is not satisfied 813 --> $DIR/namespace-mix.rs:144:11 814 | 815LL | check(mB::UV); 816 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::E` 817 | | 818 | required by a bound introduced by this call 819 | 820help: this trait has no implementations, consider adding one 821 --> $DIR/namespace-mix.rs:20:1 822 | 823LL | trait Impossible {} 824 | ^^^^^^^^^^^^^^^^ 825note: required by a bound in `check` 826 --> $DIR/namespace-mix.rs:21:13 827 | 828LL | fn check<T: Impossible>(_: T) {} 829 | ^^^^^^^^^^ required by this bound in `check` 830 831error[E0277]: the trait bound `c::E: Impossible` is not satisfied 832 --> $DIR/namespace-mix.rs:145:11 833 | 834LL | check(mC::UV{}); 835 | ----- ^^^^^^^^ the trait `Impossible` is not implemented for `c::E` 836 | | 837 | required by a bound introduced by this call 838 | 839help: this trait has no implementations, consider adding one 840 --> $DIR/namespace-mix.rs:20:1 841 | 842LL | trait Impossible {} 843 | ^^^^^^^^^^^^^^^^ 844note: required by a bound in `check` 845 --> $DIR/namespace-mix.rs:21:13 846 | 847LL | fn check<T: Impossible>(_: T) {} 848 | ^^^^^^^^^^ required by this bound in `check` 849 850error[E0277]: the trait bound `c::Item: Impossible` is not satisfied 851 --> $DIR/namespace-mix.rs:146:11 852 | 853LL | check(mC::UV); 854 | ----- ^^^^^^ the trait `Impossible` is not implemented for `c::Item` 855 | | 856 | required by a bound introduced by this call 857 | 858help: this trait has no implementations, consider adding one 859 --> $DIR/namespace-mix.rs:20:1 860 | 861LL | trait Impossible {} 862 | ^^^^^^^^^^^^^^^^ 863note: required by a bound in `check` 864 --> $DIR/namespace-mix.rs:21:13 865 | 866LL | fn check<T: Impossible>(_: T) {} 867 | ^^^^^^^^^^ required by this bound in `check` 868 869error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 870 --> $DIR/namespace-mix.rs:149:11 871 | 872LL | check(xmB::UV{}); 873 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 874 | | 875 | required by a bound introduced by this call 876 | 877help: this trait has no implementations, consider adding one 878 --> $DIR/namespace-mix.rs:20:1 879 | 880LL | trait Impossible {} 881 | ^^^^^^^^^^^^^^^^ 882note: required by a bound in `check` 883 --> $DIR/namespace-mix.rs:21:13 884 | 885LL | fn check<T: Impossible>(_: T) {} 886 | ^^^^^^^^^^ required by this bound in `check` 887 888error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied 889 --> $DIR/namespace-mix.rs:150:11 890 | 891LL | check(xmB::UV); 892 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` 893 | | 894 | required by a bound introduced by this call 895 | 896help: this trait has no implementations, consider adding one 897 --> $DIR/namespace-mix.rs:20:1 898 | 899LL | trait Impossible {} 900 | ^^^^^^^^^^^^^^^^ 901note: required by a bound in `check` 902 --> $DIR/namespace-mix.rs:21:13 903 | 904LL | fn check<T: Impossible>(_: T) {} 905 | ^^^^^^^^^^ required by this bound in `check` 906 907error[E0277]: the trait bound `namespace_mix::c::E: Impossible` is not satisfied 908 --> $DIR/namespace-mix.rs:151:11 909 | 910LL | check(xmC::UV{}); 911 | ----- ^^^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::E` 912 | | 913 | required by a bound introduced by this call 914 | 915help: this trait has no implementations, consider adding one 916 --> $DIR/namespace-mix.rs:20:1 917 | 918LL | trait Impossible {} 919 | ^^^^^^^^^^^^^^^^ 920note: required by a bound in `check` 921 --> $DIR/namespace-mix.rs:21:13 922 | 923LL | fn check<T: Impossible>(_: T) {} 924 | ^^^^^^^^^^ required by this bound in `check` 925 926error[E0277]: the trait bound `namespace_mix::c::Item: Impossible` is not satisfied 927 --> $DIR/namespace-mix.rs:152:11 928 | 929LL | check(xmC::UV); 930 | ----- ^^^^^^^ the trait `Impossible` is not implemented for `namespace_mix::c::Item` 931 | | 932 | required by a bound introduced by this call 933 | 934help: this trait has no implementations, consider adding one 935 --> $DIR/namespace-mix.rs:20:1 936 | 937LL | trait Impossible {} 938 | ^^^^^^^^^^^^^^^^ 939note: required by a bound in `check` 940 --> $DIR/namespace-mix.rs:21:13 941 | 942LL | fn check<T: Impossible>(_: T) {} 943 | ^^^^^^^^^^ required by this bound in `check` 944 945error: aborting due to 48 previous errors 946 947Some errors have detailed explanations: E0277, E0423. 948For more information about an error, try `rustc --explain E0277`.