diff options
| author | bors <bors@rust-lang.org> | 2017-09-24 15:41:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-09-24 15:41:13 +0000 |
| commit | 1ed7d41d8849d930f0622eaf54049f66fff0ca2a (patch) | |
| tree | 9c7a836c7396376c382ed8aa8c672114b8a65c78 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 647aecc281f0defdd96bc807f2b98ec3090857a2 (diff) | |
| parent | b6bce56ac718a6343e44b37110e6c273ab9b6189 (diff) | |
| download | rust-1ed7d41d8849d930f0622eaf54049f66fff0ca2a.tar.gz rust-1ed7d41d8849d930f0622eaf54049f66fff0ca2a.zip | |
Auto merge of #44743 - arielb1:size-rollback, r=eddyb
typeck::check::coercion - roll back failed unsizing type vars This wraps unsizing coercions within an additional level of `commit_if_ok`, which rolls back type variables if the unsizing coercion fails. This prevents a large amount of type-variables from accumulating while type-checking a large function, e.g. shaving 2GB off one of the 4GB peaks in #36799. This is a performance-sensitive PR so please don't roll it up. r? @eddyb cc @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
