trait Trait { type A; type B; } fn foo>() { } //~^ ERROR cycle detected //~| ERROR associated type `B` not found for `T` fn main() { }