]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-92954.rs
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / issue-92954.rs
1 // check-pass
2
3 #![feature(generic_associated_types)]
4
5 pub trait Foo {
6     type Assoc<'c>;
7     fn function() -> for<'x> fn(Self::Assoc<'x>);
8 }
9
10 fn main() {}