Commit 3c0c5b4
authored
Rollup merge of rust-lang#124380 - lcnr:std-unnecessary-params, r=Nilstrieb
`Range` iteration specialization: remove trivial bounds
These bounds on impl items are trivially true and never checked by a caller. They end up shadowing the actual impls, currently preventing normalization in the new solver. While we may have to fix the underlying issue in the new solver at some point, for now this is an easy way to get us closer to compiling core with `-Znext-solver`.
r? `@Nilstrieb`1 file changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
| 518 | + | |
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
| |||
533 | 531 | | |
534 | 532 | | |
535 | 533 | | |
536 | | - | |
537 | | - | |
538 | | - | |
| 534 | + | |
539 | 535 | | |
540 | 536 | | |
541 | 537 | | |
| |||
544 | 540 | | |
545 | 541 | | |
546 | 542 | | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
551 | 546 | | |
552 | 547 | | |
553 | 548 | | |
| |||
558 | 553 | | |
559 | 554 | | |
560 | 555 | | |
561 | | - | |
562 | | - | |
563 | | - | |
| 556 | + | |
| 557 | + | |
564 | 558 | | |
565 | 559 | | |
566 | 560 | | |
| |||
0 commit comments