1 2 3 4 5 6 7 8 9
trait Trait { type A; type B; } fn foo<T: Trait<A = T::B>>() { } //~^ ERROR cycle detected fn main() { }