about summary refs log tree commit diff
path: root/tests/ui/generic-associated-types/issue-87429.rs
blob: ccb43fc88f3a95d3fc69a0afc484fc9fe5b7de00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ check-pass

trait Family {
    type Member<'a>: for<'b> PartialEq<Self::Member<'b>>;
}

struct I32;

impl Family for I32 {
    type Member<'a> = i32;
}

fn main() {}