diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2019-10-15 16:07:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-15 16:07:47 -0700 |
| commit | a6ae7ae63ffb6615fab6e962961f317fd46fe111 (patch) | |
| tree | fa7044b1b573c4c56dea0a1d4fae8eb0742f1246 /src/test/ui/iterators/iter-sum-overflow-debug.rs | |
| parent | 8f09085bb067778b709faaded348c4627c8498ab (diff) | |
| parent | 802554f4274f6514cd2f8f618cae567adf18128f (diff) | |
| download | rust-a6ae7ae63ffb6615fab6e962961f317fd46fe111.tar.gz rust-a6ae7ae63ffb6615fab6e962961f317fd46fe111.zip | |
Rollup merge of #65293 - tmandry:turbo-expander, r=matthewjasper
Optimize `try_expand_impl_trait_type` A lot of time was being spent expanding some large `impl Future` types in fuchsia. This PR takes the number of types being visited in one expansion from >3 billion to about a thousand, and eliminates the compile time regression in https://github.com/rust-lang/rust/issues/65147 (in fact, compile times are better than they were before). Thanks to @Mark-Simulacrum for helping identify the issue and to @matthewjasper for suggesting this change. Fixes #65147. r? @matthewjasper,@nikomatsakis
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions
