about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-08 04:18:32 +0000
committerbors <bors@rust-lang.org>2017-01-08 04:18:32 +0000
commit05768690857636f27e17c825de791491a88784e7 (patch)
treec0ffb878bdefc24a6a5149b49356083a7b40a5af /src/liballoc_jemalloc
parent05383b2765fe6bb38ecf5f74f1b2d9bdf55df894 (diff)
parent8b94267a8c66ee83a90403c6bb6d3dd60ada268c (diff)
downloadrust-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_jemalloc')
0 files changed, 0 insertions, 0 deletions