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