Skip to content

Shared-kind typarams shouldn't be copyable #984

Closed
@brson

Description

@brson

Because ~resource is shared kind it is not safe to copy shared kinds for which we don't know the type. This means that the ty param @T must not be copied. On first blush this seems quite restrictive since shared boxes may not be used as ty params when they need to be copied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions