1 error[E0282]: type annotations needed
2 --> $DIR/issue-51116.rs:16:13
5 | --- the element type for this iterator is not specified
6 LL | //~^ NOTE the element type for this iterator is not specified
8 | ^^^^^ cannot infer type
10 = note: type must be known at this point
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0282`.