]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-92954.rs
Rollup merge of #94019 - hermitcore:target, r=Mark-Simulacrum
[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() {}