Skip to content

ManuallyDrop<T> where T: ?Sized #47034

Closed
@mikeyhew

Description

@mikeyhew

ManuallyDrop<T> currently requires T: Sized. It would be nice if we could remove this restriction. I'm not sure how to do it with the current implementation using union though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-langRelevant to the language team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions