// run-pass // Tests that the re-exports of `FnOnce` et al from the prelude work. // pretty-expanded FIXME #23616 fn main() { let task: Box isize> = Box::new(|x| x); task(0); let mut task: Box isize> = Box::new(|x| x); task(0); call(|x| x, 22); } fn call isize>(f: F, x: isize) -> isize { f(x) }