This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 03181e0
committed
Auto merge of rust-lang#113575 - aliemjay:opaque-hrtb-ice, r=lcnr
don't ICE on higher ranked hidden types
This shouldn't allow more code to compile, only replaces the ICE with a nicer error message.
Fixes rust-lang#97098.
Fixes rust-lang#97099.
Fixes rust-lang#108399
Fixes rust-lang#104196
Fixes rust-lang#113481
Fixes rust-lang#103186
Fixes rust-lang#100818
r? `@lcnr` (because you showed interest in rust-lang#100503 :)File tree
7 files changed
+109
-11
lines changed- compiler
- rustc_borrowck/src/region_infer
- rustc_infer/src/infer/error_reporting
- tests/ui
- impl-trait
- type-alias-impl-trait
7 files changed
+109
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
787 | 791 | | |
788 | 792 | | |
789 | 793 | | |
790 | 794 | | |
791 | 795 | | |
792 | 796 | | |
793 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
794 | 801 | | |
795 | 802 | | |
796 | 803 | | |
| |||
805 | 812 | | |
806 | 813 | | |
807 | 814 | | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
812 | 820 | | |
813 | 821 | | |
814 | 822 | | |
| |||
832 | 840 | | |
833 | 841 | | |
834 | 842 | | |
835 | | - | |
836 | 843 | | |
837 | 844 | | |
838 | 845 | | |
| |||
867 | 874 | | |
868 | 875 | | |
869 | 876 | | |
870 | | - | |
| 877 | + | |
871 | 878 | | |
872 | 879 | | |
873 | 880 | | |
| |||
878 | 885 | | |
879 | 886 | | |
880 | 887 | | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | 888 | | |
886 | 889 | | |
887 | 890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
188 | 203 | | |
189 | 204 | | |
190 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
354 | 363 | | |
355 | 364 | | |
356 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments