1 error[E0282]: type annotations needed
2 --> $DIR/issue-20261.rs:14:11
4 LL | for (ref i,) in [].iter() {
5 | --------- the element type for this iterator is not specified
7 | ^^^^^ cannot infer type
9 = note: type must be known at this point
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0282`.