1 2 3 4 5 6 7 8
// run-pass fn foo() -> impl Into<for<'a> fn(&'a ())> { (|_| {}) as for<'a> fn(&'a ()) } fn main() { foo().into()(&()); }