This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 45afefa
committed
Fix trait upcasting to dyn type with no principal when there are projections
1 parent 0c478fd commit 45afefa
File tree
2 files changed
+37
-14
lines changed- compiler/rustc_trait_selection/src/traits/select
- tests/ui/traits
2 files changed
+37
-14
lines changedLines changed: 24 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
| 1093 | + | |
| 1094 | + | |
1102 | 1095 | | |
1103 | | - | |
1104 | | - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
1105 | 1110 | | |
1106 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1107 | 1117 | | |
1108 | 1118 | | |
1109 | 1119 | | |
1110 | 1120 | | |
1111 | | - | |
1112 | | - | |
| 1121 | + | |
| 1122 | + | |
1113 | 1123 | | |
1114 | 1124 | | |
1115 | 1125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments