Skip to content

[try_]pin_init! should check that the initialized struct is !Unpin #63

Description

@BennoLossin

[try_]pin_init! should check that the initialized struct is !Unpin:

  • if it is Unpin, [try_]init! can be used instead (since all structurally pinned values must then also be Unpin)
  • it can catch people forgetting PhantomPinned in their structs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions