blob: 258e362d1317c5ee38b7f0bb66d1320182fac0d7 [file] [log] [blame]
trait Trait {
type A;
type B;
}
fn foo<T: Trait<A = T::B>>() { }
//~^ ERROR cycle detected
fn main() { }