summaryrefslogtreecommitdiffstats
path: root/tests/ui/generic-associated-types/issue-68653.rs
blob: 170b87cf25281cfa47e04440e251fd92239f392c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// A regression test for #68653, which was fixed by #68938.

// check-pass

trait Fun {
    type F<'a: 'a>;
}

impl <T> Fun for T {
    type F<'a> = Self;
}

fn main() {}