Commit 036469c
committed
Auto merge of #46320 - arielb1:always-resume, r=nikomatsakis
Always unwind through a Resume and other fixes
Should fix most of the small MIR borrowck issues.
r? @nikomatsakisFile tree
35 files changed
+542
-311
lines changed- src
- librustc_mir
- build
- expr
- matches
- dataflow/impls
- transform
- librustc/mir
- test
- compile-fail/borrowck
- mir-opt
- nll
- run-pass
35 files changed
+542
-311
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
736 | 740 | | |
737 | 741 | | |
738 | 742 | | |
| |||
811 | 815 | | |
812 | 816 | | |
813 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
814 | 839 | | |
815 | 840 | | |
816 | 841 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
412 | 402 | | |
413 | | - | |
| 403 | + | |
414 | 404 | | |
415 | 405 | | |
416 | 406 | | |
| |||
594 | 584 | | |
595 | 585 | | |
596 | 586 | | |
597 | | - | |
| 587 | + | |
598 | 588 | | |
599 | 589 | | |
600 | 590 | | |
| |||
751 | 741 | | |
752 | 742 | | |
753 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
754 | 788 | | |
755 | 789 | | |
756 | 790 | | |
| |||
1667 | 1701 | | |
1668 | 1702 | | |
1669 | 1703 | | |
1670 | | - | |
| 1704 | + | |
1671 | 1705 | | |
1672 | | - | |
| 1706 | + | |
| 1707 | + | |
1673 | 1708 | | |
1674 | 1709 | | |
1675 | 1710 | | |
1676 | | - | |
1677 | 1711 | | |
1678 | 1712 | | |
1679 | 1713 | | |
| |||
2162 | 2196 | | |
2163 | 2197 | | |
2164 | 2198 | | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
2165 | 2207 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
277 | 279 | | |
278 | 280 | | |
279 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
386 | 387 | | |
| 388 | + | |
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
| |||
422 | 424 | | |
423 | 425 | | |
424 | 426 | | |
| 427 | + | |
425 | 428 | | |
426 | 429 | | |
427 | 430 | | |
| |||
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
468 | 472 | | |
469 | 473 | | |
470 | 474 | | |
| 475 | + | |
471 | 476 | | |
472 | 477 | | |
473 | 478 | | |
| |||
491 | 496 | | |
492 | 497 | | |
493 | 498 | | |
| 499 | + | |
494 | 500 | | |
495 | 501 | | |
496 | 502 | | |
| |||
701 | 707 | | |
702 | 708 | | |
703 | 709 | | |
704 | | - | |
| 710 | + | |
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
708 | | - | |
709 | | - | |
710 | | - | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
711 | 727 | | |
712 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
713 | 733 | | |
714 | | - | |
715 | | - | |
| 734 | + | |
716 | 735 | | |
717 | 736 | | |
718 | 737 | | |
| |||
725 | 744 | | |
726 | 745 | | |
727 | 746 | | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
743 | 752 | | |
744 | | - | |
| 753 | + | |
| 754 | + | |
745 | 755 | | |
746 | 756 | | |
747 | 757 | | |
| |||
760 | 770 | | |
761 | 771 | | |
762 | 772 | | |
763 | | - | |
| 773 | + | |
764 | 774 | | |
765 | 775 | | |
766 | 776 | | |
| |||
779 | 789 | | |
780 | 790 | | |
781 | 791 | | |
782 | | - | |
| 792 | + | |
783 | 793 | | |
784 | 794 | | |
785 | 795 | | |
| |||
804 | 814 | | |
805 | 815 | | |
806 | 816 | | |
807 | | - | |
| 817 | + | |
808 | 818 | | |
809 | 819 | | |
810 | 820 | | |
| |||
813 | 823 | | |
814 | 824 | | |
815 | 825 | | |
| 826 | + | |
816 | 827 | | |
817 | 828 | | |
818 | 829 | | |
| |||
868 | 879 | | |
869 | 880 | | |
870 | 881 | | |
871 | | - | |
| 882 | + | |
872 | 883 | | |
873 | 884 | | |
874 | 885 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
208 | 212 | | |
209 | 213 | | |
210 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
211 | 221 | | |
212 | 222 | | |
213 | 223 | | |
| |||
0 commit comments