Skip to content

Borrowed needs to removed/combined with InParam #1896

Closed

Description

@kennykerr

Following #1811, Borrowed needs to be applied to Win32 struct fields.

Activity

  1. kennykerr commented on Dec 6, 2022

    @kennykerr
    CollaboratorAuthor

    Borrowed really doesn't work for struct fields at all, as was hoped. Win32 fields should probably all just be ManuallyDrop as their ownership is not defined. I'll probably also just fold Borrowed and InParam together as its only useful for input parameters but the current implementation is unnecessarily complicated as it considers, but does not support, field usage.

  2. changed the title [-]`Borrowed` needs to be applied to Win32 struct fields[/-] [+]`Borrowed` needs to removed/combined with `InParam`[/+] on Dec 7, 2022
  3. kennykerr commented on Dec 16, 2022

    @kennykerr
    CollaboratorAuthor

    Fixed in #2237.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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