#![feature(unboxed_closures)] trait SomeTrait<'a> { type Associated; } fn give_me_ice() { callee:: >::Associated>(); //~^ ERROR the trait bound `for<'r> T: SomeTrait<'r>` is not satisfied [E0277] } fn callee>() { println!("{}", std::any::type_name::<>::Output>()); } fn main() { give_me_ice::<()>(); }