This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit c1d65ea
committed
Auto merge of rust-lang#96892 - oli-obk:🐌_obligation_cause_code_🐌, r=estebank
Clean up derived obligation creation
r? `@estebank`
working on fixing the perf regression from rust-lang#91030 (comment)File tree
11 files changed
+176
-219
lines changed- compiler
- rustc_infer/src/traits
- rustc_middle/src/traits
- rustc_trait_selection/src/traits
- error_reporting
- select
- rustc_typeck/src/check/fn_ctxt
- src/test/ui
- associated-types
- builtin-superkinds
- traits
11 files changed
+176
-219
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 100 | + | |
103 | 101 | | |
104 | 102 | | |
105 | 103 | | |
| |||
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 124 | + | |
131 | 125 | | |
132 | 126 | | |
133 | 127 | | |
| |||
136 | 130 | | |
137 | 131 | | |
138 | 132 | | |
139 | | - | |
| 133 | + | |
140 | 134 | | |
141 | 135 | | |
| 136 | + | |
142 | 137 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 138 | + | |
148 | 139 | | |
149 | 140 | | |
150 | 141 | | |
| |||
164 | 155 | | |
165 | 156 | | |
166 | 157 | | |
167 | | - | |
| 158 | + | |
168 | 159 | | |
169 | 160 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
175 | 189 | | |
176 | 190 | | |
177 | 191 | | |
| |||
182 | 196 | | |
183 | 197 | | |
184 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
185 | 223 | | |
186 | 224 | | |
187 | 225 | | |
| |||
269 | 307 | | |
270 | 308 | | |
271 | 309 | | |
272 | | - | |
| 310 | + | |
273 | 311 | | |
274 | 312 | | |
275 | 313 | | |
| |||
404 | 442 | | |
405 | 443 | | |
406 | 444 | | |
407 | | - | |
| 445 | + | |
408 | 446 | | |
409 | 447 | | |
410 | 448 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 449 | + | |
| 450 | + | |
423 | 451 | | |
424 | 452 | | |
425 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
426 | 466 | | |
427 | 467 | | |
428 | 468 | | |
| |||
472 | 512 | | |
473 | 513 | | |
474 | 514 | | |
475 | | - | |
| 515 | + | |
476 | 516 | | |
477 | 517 | | |
478 | 518 | | |
| |||
Lines changed: 10 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
723 | 692 | | |
724 | 693 | | |
725 | 694 | | |
| |||
Lines changed: 12 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
648 | 631 | | |
649 | 632 | | |
650 | 633 | | |
| |||
1669 | 1652 | | |
1670 | 1653 | | |
1671 | 1654 | | |
1672 | | - | |
| 1655 | + | |
1673 | 1656 | | |
1674 | 1657 | | |
1675 | 1658 | | |
| |||
1700 | 1683 | | |
1701 | 1684 | | |
1702 | 1685 | | |
1703 | | - | |
| 1686 | + | |
1704 | 1687 | | |
1705 | 1688 | | |
1706 | 1689 | | |
| |||
1732 | 1715 | | |
1733 | 1716 | | |
1734 | 1717 | | |
1735 | | - | |
| 1718 | + | |
1736 | 1719 | | |
1737 | 1720 | | |
1738 | 1721 | | |
| |||
2382 | 2365 | | |
2383 | 2366 | | |
2384 | 2367 | | |
2385 | | - | |
2386 | | - | |
| 2368 | + | |
2387 | 2369 | | |
2388 | 2370 | | |
2389 | 2371 | | |
| |||
2428 | 2410 | | |
2429 | 2411 | | |
2430 | 2412 | | |
2431 | | - | |
| 2413 | + | |
2432 | 2414 | | |
2433 | 2415 | | |
2434 | 2416 | | |
| |||
0 commit comments