1 #![feature(unboxed_closures)]
8 callee::<fn(&()) -> <T as SomeTrait<'_>>::Associated>();
9 //~^ ERROR the trait bound `for<'r> T: SomeTrait<'r>` is not satisfied [E0277]
12 fn callee<T: Fn<(&'static (),)>>() {
13 println!("{}", std::any::type_name::<<T as FnOnce<(&'static (),)>>::Output>());