]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-68653.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / issue-68653.rs
1 // A regression test for #68653, which was fixed by #68938.
2
3 // check-pass
4
5 #![feature(generic_associated_types)]
6
7 trait Fun {
8     type F<'a: 'a>;
9 }
10
11 impl <T> Fun for T {
12     type F<'a> = Self;
13 }
14
15 fn main() {}