blob: 4f1c521d9fe8e6b156aeea9c291326b15e56878e [file] [log] [blame] [edit]
// <https://github.com/rust-lang/rust/issues/105184>
fn main() {
vec![(), ()].iter().sum::<i32>();
//~^ ERROR
vec![(), ()].iter().product::<i32>();
//~^ ERROR
}