trait Trait { type A; type B; } fn foo>() { } //~^ ERROR cycle detected fn main() { }