diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-26 14:18:37 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-30 05:25:25 +1000 |
| commit | a820672f6c947c5f487d10a011b9b1e65c29f693 (patch) | |
| tree | 0587112f8a49a83f6a7473de185e4004358d8158 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 2883c258f1a6dd82f6acd174b71d74e04e645f6d (diff) | |
| download | rust-a820672f6c947c5f487d10a011b9b1e65c29f693.tar.gz rust-a820672f6c947c5f487d10a011b9b1e65c29f693.zip | |
Avoid the popping loop at the end of `compress()`.
By collecting the done obligations (when necessary) in the main loop. This makes the code cleaner. The commit also changes the order in which successful obligations are returned -- they are now returned in the registered order, rather than reversed. Because this order doesn't actually matter, being only used by tests, the commit uses `sort()` to make the test agnostic w.r.t. the order.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
