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