1 2 3 4 5 6 7 8
use std::vec::Vec; fn main() { let a: Vec<isize> = Vec::new(); a.iter().all(|_| -> bool { //~^ ERROR mismatched types }); }