rust/tests/ui/associated-type-bounds/implied-bounds-cycle.rs

9 lines
130 B
Rust

trait A {
type T;
}
trait B: A<T: B> {}
//~^ ERROR cycle detected when computing the implied predicates of `B`
fn main() {}