Skip to content

min-type-alias-impl-trait should not accept impl trait in assoc. type binding #86731

Closed
@nikomatsakis

Description

@nikomatsakis

The following example represents an illegal use for min_type_alias_impl_trait

playground of more complete code

pub type FooImpl = impl Foo;
pub type BarImpl = impl Bar<Foo = FooImpl>;

But we are not reporting it that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-type_alias_impl_trait`#[feature(type_alias_impl_trait)]`I-needs-decisionIssue: In need of a decision.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions