Commit 0c49d63
committed
Always canonicalize skolemized regions
Since `ReSkolemized` has the flag `KEEP_IN_LOCAL_TCX`, and
canonicalization is meant to ensure that flag is no longer present, it
implicitly is depending on the existence of the leak check. However,
since we want to remove that in rust-lang#48407, we can no longer make that
assumption.
This is related to rust-lang#48696, but does not resolve it. This does unblock that
PR, however. It could have been tacked on there, but I wanted to make
sure this is a reasonable short term approach separately from that.1 parent 097efa9 commit 0c49d63
1 file changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | 560 | | |
564 | 561 | | |
565 | 562 | | |
566 | 563 | | |
567 | 564 | | |
568 | | - | |
569 | | - | |
| 565 | + | |
570 | 566 | | |
571 | 567 | | |
| 568 | + | |
| 569 | + | |
572 | 570 | | |
573 | 571 | | |
574 | 572 | | |
575 | 573 | | |
576 | | - | |
577 | 574 | | |
578 | 575 | | |
579 | 576 | | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
| 577 | + | |
585 | 578 | | |
586 | 579 | | |
587 | 580 | | |
| |||
764 | 757 | | |
765 | 758 | | |
766 | 759 | | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
767 | 768 | | |
768 | 769 | | |
769 | 770 | | |
| |||
0 commit comments