Skip to content

Audit variance of Ptr #1839

Closed
Closed
@joshlf

Description

@joshlf

What about Ptr<T, (Exclusive, _, _)>? It shouldn't be covariant over T, but invariant. What about the variance of T (e.g. T = UnsafeCell<U>)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions