diff options
| author | bors <bors@rust-lang.org> | 2017-01-08 04:18:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-08 04:18:32 +0000 |
| commit | 05768690857636f27e17c825de791491a88784e7 (patch) | |
| tree | c0ffb878bdefc24a6a5149b49356083a7b40a5af /src/liballoc_system | |
| parent | 05383b2765fe6bb38ecf5f74f1b2d9bdf55df894 (diff) | |
| parent | 8b94267a8c66ee83a90403c6bb6d3dd60ada268c (diff) | |
| download | rust-05768690857636f27e17c825de791491a88784e7.tar.gz rust-05768690857636f27e17c825de791491a88784e7.zip | |
Auto merge of #38822 - michaelwoerister:collect-fn-once-adapter, r=eddyb
trans: Fix missing closure env drop-glue in trans-item collector. FnOnce adapters automatically generated by the compiler introduce a call to drop the closure environment. The collector didn't pick up on that because this drop call does not show up in MIR. That could lead to an assertion being triggered if the drop-glue for the environment wasn't instantiated via something else. Fixes #38810 cc @arielb1 r? @eddyb or @nikomatsakis
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
