1 #![feature(box_syntax)]
6 fn h(x:i32) -> i32 {3*x}
7 let mut vfnfer:Vec<Box<dyn Any>> = vec![];
9 println!("{:?}",(vfnfer[0] as dyn Fn)(3));
10 //~^ ERROR the precise format of `Fn`-family traits'
11 //~| ERROR missing generics for trait `Fn`
12 //~| ERROR the value of the associated type `Output` (from trait `FnOnce`)