error[E0308]: mismatched types --> tests/compile-fail/surface_map_badtypes.rs:5:36 | 5 | source_iter(0..10) -> map(|(a, b)| a + b) -> for_each(std::mem::drop); | ^^^^^^ | | | expected integer, found `(_, _)` | expected due to this | = note: expected type `{integer}` found tuple `(_, _)`