Commit 4ed008a
committed
Auto merge of rust-lang#62682 - alessandrod:issue-58375, r=eddyb
Normalize type parameters in create_mono_items_for_default_impls.
Fix for rust-lang#58375. I've added a test in `src/tests/run-pass` to reproduce the bug, not sure that's the best place for it.
See rust-lang#58375 (comment) for more context.File tree
2 files changed
+29
-2
lines changed- src
- librustc_mir/monomorphize
- test/run-pass
2 files changed
+29
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1143 | 1143 | | |
1144 | 1144 | | |
1145 | 1145 | | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1146 | 1151 | | |
1147 | 1152 | | |
1148 | 1153 | | |
| |||
1165 | 1170 | | |
1166 | 1171 | | |
1167 | 1172 | | |
1168 | | - | |
1169 | 1173 | | |
1170 | | - | |
| 1174 | + | |
1171 | 1175 | | |
1172 | 1176 | | |
1173 | 1177 | | |
| |||
Lines changed: 23 additions & 0 deletions
| 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 | + | |
0 commit comments