]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/issue-68653.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / 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() {}