Skip to content

weird ICE #21555

Closed
Closed
weird ICE#21555
@steveklabnik

Description

@steveklabnik
trait AnyTrait {}

trait Foo where Self::Bug: AnyTrait {
//    type Bug; // this compiler panics regardless of whether this is present.
}

fn main() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions