]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-92954.rs
Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-se
[rust.git] / src / test / ui / generic-associated-types / issue-92954.rs
1 // check-pass
2
3 pub trait Foo {
4     type Assoc<'c>;
5     fn function() -> for<'x> fn(Self::Assoc<'x>);
6 }
7
8 fn main() {}