Skip to content

remove Box<DST> special code from trans now that the box_free lang item supports them #37710

Closed
@oli-obk

Description

@oli-obk

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions