// check-pass fn foo(_: F) where F: 'static, { } fn from(f: F) -> impl Send { f } fn bar() { foo(from(|| ())) } fn main() { }