Skip to content

rustc: lifetime elision should not apply to covariant uses of lifetimes #15907

Closed
@aturon

Description

@aturon

As was noted in the RFC discussion, covariant lifetime positions (which I was mistakenly referring to as "contravariant") should require explicit lifetime annotations.

cc #15552

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lifetimesArea: Lifetimes / regions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions