]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-87429.rs
Rollup merge of #101741 - andrewpollack:add-needs-unwind-ui-tests, r=tmandry
[rust.git] / src / test / ui / generic-associated-types / issue-87429.rs
1 // check-pass
2
3 trait Family {
4     type Member<'a>: for<'b> PartialEq<Self::Member<'b>>;
5 }
6
7 struct I32;
8
9 impl Family for I32 {
10     type Member<'a> = i32;
11 }
12
13 fn main() {}