Skip to content

Interaction between elision and trait objects is not ideal #1302

Open
@nikomatsakis

Description

@nikomatsakis

As observed on rust-lang/rust#27248, the interaction between elision and trait objects changed recently as the result of a bug fix, but in some cases the older, buggy behavior may have been preferable. In particular, trait object defaults operate by different rules per RFC 599. I have also argued that object lifetime defaults ought to be treated differently from other lifetimes for the purpose of '_, which is closely tied to elision. However, it's unclear just what the new rules ought to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions