You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#37708 changed box_free to be equivalent to a future Drop impl for Box<T: ?Sized>. Unfortunately trans still has some specialized code around Box<DST> (basically generating the same code as box_free) when it could just be calling box_free.
The text was updated successfully, but these errors were encountered:
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.
#37708 changed
box_free
to be equivalent to a futureDrop
impl forBox<T: ?Sized>
. Unfortunately trans still has some specialized code aroundBox<DST>
(basically generating the same code asbox_free
) when it could just be callingbox_free
.The text was updated successfully, but these errors were encountered: