about summary refs log tree commit diff
path: root/tests/ui/associated-type-bounds/implied-bounds-cycle.rs
blob: 8f2bec889eac5900adbbda2291309fa51139af18 (plain)
1
2
3
4
5
6
7
8
trait A {
    type T;
}

trait B: A<T: B> {}
//~^ ERROR cycle detected when computing the implied predicates of `B`

fn main() {}