Skip to content

ICE when a supertrait bound contains a binding for a type defined in the supertrait #20825

@nikomatsakis

Description

@nikomatsakis

Example (reduced by @sfackler from something reported on IRC):

pub trait Subscriber {
    type Input;
}

pub trait Processor : Subscriber<Input=Self::Input> {
    type Input;
}

fn main() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-associated-itemsArea: Associated items (types, constants & functions)E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions