]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/wf-cycle.rs
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / wf-cycle.rs
1 // check-pass
2
3 trait A {
4     type U: Copy;
5 }
6
7 trait B where
8     <Self::V as A>::U: Copy,
9 {
10     type V: A;
11 }
12
13 fn main() {}