// check-pass #![feature(inherent_associated_types)] #![allow(incomplete_features)] #![deny(single_use_lifetimes)] struct Foo(T); impl<'a> Foo { type Assoc = &'a (); } trait Other {} impl Other for u32 {} fn bar(_: for<'a> fn(Foo::Assoc)) {} fn main() {}