1 2 3 4 5 6 7 8 9
// <https://github.com/rust-lang/rust/issues/105184> fn main() { vec![(), ()].iter().sum::<i32>(); //~^ ERROR vec![(), ()].iter().product::<i32>(); //~^ ERROR }