rust/tests/ui/associated-types/wf-cycle.rs
2024-02-16 20:02:50 +00:00

14 lines
123 B
Rust

//@ check-pass
trait A {
type U: Copy;
}
trait B where
<Self::V as A>::U: Copy,
{
type V: A;
}
fn main() {}