]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38574 - Mark-Simulacrum:box-free-unspecialize, r=eddyb
authorbors <bors@rust-lang.org>
Tue, 27 Dec 2016 11:32:39 +0000 (11:32 +0000)
committerbors <bors@rust-lang.org>
Tue, 27 Dec 2016 11:32:39 +0000 (11:32 +0000)
Remove special case for Box<ZST> in trans

Remove extra lang item, `exchange_free`; use `box_free` instead.

Trans used to insert code equivalent to `box_free` in a wrapper around
`exchange_free`, and that code is now removed from trans.

Fixes #37710.


Trivial merge