Skip to content

Add sugar for bounds on associated types #1093

Closed
@ftxqxd

Description

@ftxqxd

It would be nice if where T: Trait<AssocType: Bound> were equivalent to where T: Trait, <T as Trait>::AssocType: Bound, by analogy with T: Trait<AssocType = Type>.

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