]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-68653.rs
Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-se
[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 trait Fun {
6     type F<'a: 'a>;
7 }
8
9 impl <T> Fun for T {
10     type F<'a> = Self;
11 }
12
13 fn main() {}