Skip to content

ICE when using a trait with an associated type as a trait object #19121

Closed
@nrc

Description

@nrc
#![feature(associated_types)]

trait Foo {
    type A;
}

fn bar(x: &Foo) {}

pub fn main() {
}

Metadata

Metadata

Assignees

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.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