Commit 2b6ed3b
committed
Auto merge of rust-lang#89285 - jackh726:issue-88862, r=nikomatsakis
Don't normalize opaque types with escaping late-bound regions
Fixes rust-lang#88862
Turns out, this has some really bad perf implications in large types (issue rust-lang#88862). While we technically can handle them fine, it doesn't change test output either way. For now, revert with an added benchmark. Future attempts to change this back will have to consider perf.
Needs a perf run once rust-lang/rustc-perf#1033 is merged
r? `@nikomatsakis`File tree
2 files changed
+8
-8
lines changed- compiler/rustc_trait_selection/src/traits
- query
2 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
392 | 395 | | |
393 | 396 | | |
394 | 397 | | |
395 | 398 | | |
396 | 399 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments