fn main() { let bar: fn(&mut u32) = |_| {}; fn foo(x: Box) {} let bar = Box::new(|x: &i32| {}) as Box; foo(bar); //~ ERROR mismatched types //~| expected concrete lifetime, found bound lifetime parameter }