forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 4b9c62b
Auto merge of rust-lang#147138 - jackh726:split-canonical-bound, r=lcnr
Split Bound index into Canonical and Bound
See [#t-types/trait-system-refactor > perf &rust-lang#96;async-closures/post-mono-higher-ranked-hang.rs&rust-lang#96;](https://rust-lang.zulipchat.com/#narrow/channel/364551-t-types.2Ftrait-system-refactor/topic/perf.20.60async-closures.2Fpost-mono-higher-ranked-hang.2Ers.60/with/541535613) for context
Things compile and tests pass, but not sure if this actually solves the perf issue (edit: it does). Opening up this to do a perf (and maybe crater) run.
r? lcnrFile tree
45 files changed
+391
-247
lines changed- compiler
- rustc_borrowck/src
- rustc_hir_analysis/src
- collect
- hir_ty_lowering
- rustc_infer/src/infer
- canonical
- outlives
- rustc_middle/src/ty
- print
- rustc_next_trait_solver/src
- canonical
- rustc_public/src/unstable/convert/stable
- rustc_sanitizers/src/cfi/typeid/itanium_cxx_abi
- rustc_symbol_mangling/src
- rustc_trait_selection/src/traits
- query
- rustc_ty_utils/src
- rustc_type_ir/src
- ty_kind
- src/tools/clippy
- clippy_lints/src
- clippy_utils/src/ty
- tests
- mir-opt
- ui
- async-await/async-closures
- higher-ranked/trait-bounds
- lifetimes
- nll/user-annotations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
45 files changed
+391
-247
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
281 | - | ||
281 | + | ||
282 | 282 |
| |
283 | 283 |
| |
284 | 284 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
184 | - | ||
184 | + | ||
185 | + | ||
186 | + | ||
185 | 187 |
| |
186 | 188 |
| |
187 | 189 |
| |
188 | 190 |
| |
189 | 191 |
| |
190 | 192 |
| |
191 | - | ||
193 | + | ||
192 | 194 |
| |
193 | 195 |
| |
194 | 196 |
| |
195 | 197 |
| |
196 | 198 |
| |
197 | 199 |
| |
198 | - | ||
200 | + | ||
201 | + | ||
202 | + | ||
199 | 203 |
| |
200 | 204 |
| |
201 | 205 |
| |
| |||
260 | 264 |
| |
261 | 265 |
| |
262 | 266 |
| |
263 | - | ||
267 | + | ||
264 | 268 |
| |
265 | 269 |
| |
266 | 270 |
| |
| |||
286 | 290 |
| |
287 | 291 |
| |
288 | 292 |
| |
289 | - | ||
293 | + | ||
290 | 294 |
| |
291 | 295 |
| |
292 | 296 |
| |
| |||
314 | 318 |
| |
315 | 319 |
| |
316 | 320 |
| |
317 | - | ||
321 | + | ||
318 | 322 |
| |
319 | 323 |
| |
320 | 324 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
921 | 921 |
| |
922 | 922 |
| |
923 | 923 |
| |
924 | - | ||
924 | + | ||
925 | 925 |
| |
926 | 926 |
| |
927 | 927 |
| |
| |||
944 | 944 |
| |
945 | 945 |
| |
946 | 946 |
| |
947 | - | ||
947 | + | ||
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
| |||
967 | 967 |
| |
968 | 968 |
| |
969 | 969 |
| |
970 | - | ||
970 | + | ||
971 | 971 |
| |
972 | 972 |
| |
973 | 973 |
| |
|
Lines changed: 16 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
306 | - | ||
307 | - | ||
308 | 306 |
| |
309 | 307 |
| |
310 | 308 |
| |
311 | 309 |
| |
312 | 310 |
| |
313 | 311 |
| |
314 | 312 |
| |
315 | - | ||
316 | - | ||
317 | - | ||
318 | - | ||
319 | - | ||
320 | - | ||
321 | - | ||
322 | - | ||
323 | - | ||
324 | - | ||
325 | 313 |
| |
326 | 314 |
| |
327 | - | ||
328 | - | ||
329 | - | ||
330 | - | ||
331 | - | ||
332 | - | ||
315 | + | ||
316 | + | ||
317 | + | ||
318 | + | ||
333 | 319 |
| |
334 | 320 |
| |
335 | 321 |
| |
| |||
403 | 389 |
| |
404 | 390 |
| |
405 | 391 |
| |
406 | - | ||
407 | - | ||
408 | - | ||
409 | - | ||
410 | - | ||
411 | - | ||
392 | + | ||
393 | + | ||
394 | + | ||
395 | + | ||
412 | 396 |
| |
413 | 397 |
| |
414 | 398 |
| |
| |||
479 | 463 |
| |
480 | 464 |
| |
481 | 465 |
| |
482 | - | ||
483 | - | ||
484 | - | ||
485 | - | ||
486 | - | ||
487 | - | ||
466 | + | ||
467 | + | ||
468 | + | ||
469 | + | ||
470 | + | ||
488 | 471 |
| |
489 | 472 |
| |
490 | 473 |
| |
| |||
569 | 552 |
| |
570 | 553 |
| |
571 | 554 |
| |
572 | - | ||
573 | 555 |
| |
574 | 556 |
| |
575 | 557 |
| |
| |||
751 | 733 |
| |
752 | 734 |
| |
753 | 735 |
| |
754 | - | ||
755 | - | ||
736 | + | ||
756 | 737 |
| |
757 | 738 |
| |
758 | 739 |
| |
| |||
766 | 747 |
| |
767 | 748 |
| |
768 | 749 |
| |
769 | - | ||
770 | - | ||
750 | + | ||
771 | 751 |
| |
772 | 752 |
| |
773 | 753 |
| |
| |||
783 | 763 |
| |
784 | 764 |
| |
785 | 765 |
| |
786 | - | ||
787 | - | ||
766 | + | ||
788 | 767 |
| |
789 | 768 |
|
Lines changed: 18 additions & 56 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | - | ||
14 | + | ||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 | - | ||
70 | 69 |
| |
71 | 70 |
| |
72 | 71 |
| |
| |||
79 | 78 |
| |
80 | 79 |
| |
81 | 80 |
| |
82 | - | ||
83 | - | ||
84 | - | ||
85 | - | ||
86 | - | ||
87 | - | ||
81 | + | ||
82 | + | ||
83 | + | ||
88 | 84 |
| |
89 | 85 |
| |
90 | 86 |
| |
91 | 87 |
| |
92 | 88 |
| |
93 | 89 |
| |
94 | 90 |
| |
95 | - | ||
96 | - | ||
97 | - | ||
98 | - | ||
99 | - | ||
100 | - | ||
101 | - | ||
102 | - | ||
103 | - | ||
104 | - | ||
105 | 91 |
| |
106 | 92 |
| |
107 | - | ||
93 | + | ||
108 | 94 |
| |
109 | 95 |
| |
110 | 96 |
| |
111 | - | ||
97 | + | ||
112 | 98 |
| |
113 | - | ||
99 | + | ||
114 | 100 |
| |
115 | 101 |
| |
116 | 102 |
| |
117 | - | ||
103 | + | ||
118 | 104 |
| |
119 | 105 |
| |
120 | 106 |
| |
| |||
123 | 109 |
| |
124 | 110 |
| |
125 | 111 |
| |
126 | - | ||
112 | + | ||
127 | 113 |
| |
128 | 114 |
| |
129 | 115 |
| |
| |||
132 | 118 |
| |
133 | 119 |
| |
134 | 120 |
| |
135 | - | ||
121 | + | ||
136 | 122 |
| |
137 | 123 |
| |
138 | 124 |
| |
139 | 125 |
| |
140 | 126 |
| |
141 | 127 |
| |
142 | 128 |
| |
143 | - | ||
129 | + | ||
144 | 130 |
| |
145 | 131 |
| |
146 | 132 |
| |
147 | - | ||
133 | + | ||
148 | 134 |
| |
149 | 135 |
| |
150 | 136 |
| |
151 | - | ||
152 | - | ||
153 | - | ||
154 | - | ||
155 | - | ||
156 | - | ||
157 | - | ||
158 | - | ||
159 | 137 |
| |
160 | 138 |
| |
161 | 139 |
| |
| |||
185 | 163 |
| |
186 | 164 |
| |
187 | 165 |
| |
188 | - | ||
189 | 166 |
| |
190 | 167 |
| |
191 | - | ||
192 | - | ||
193 | - | ||
194 | - | ||
195 | - | ||
196 | - | ||
197 | - | ||
198 | - | ||
199 | - | ||
200 | 168 |
| |
201 | - | ||
202 | - | ||
203 | - | ||
169 | + | ||
204 | 170 |
| |
205 | - | ||
171 | + | ||
206 | 172 |
| |
207 | 173 |
| |
208 | 174 |
| |
209 | 175 |
| |
210 | - | ||
211 | - | ||
212 | - | ||
176 | + | ||
213 | 177 |
| |
214 | 178 |
| |
215 | 179 |
| |
216 | 180 |
| |
217 | - | ||
218 | - | ||
219 | - | ||
181 | + | ||
220 | 182 |
| |
221 | - | ||
183 | + | ||
222 | 184 |
| |
223 | 185 |
| |
224 | 186 |
| |
225 | 187 |
| |
226 | - | ||
188 | + | ||
227 | 189 |
| |
228 | 190 |
| |
229 | 191 |
|
0 commit comments