// #91594: This used to ICE. trait Component { type Interface; } trait HasComponent {} struct Foo; impl HasComponent<>::Interface> for Foo {} //~^ ERROR the trait bound `Foo: HasComponent<()>` is not satisfied impl> Component for Foo { type Interface = u8; } fn main() {}