fn main() { vec![true, false].map(|v| !v).collect::>(); //~^ ERROR `Vec` is not an iterator }