summary refs log tree commit diff
path: root/src/test/ui/issues/issue-20261.stderr
blob: c6c3f32dfe7d8f3a8a8f8fe6a578dd16acc9bb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0282]: type annotations needed for `&(_,)`
  --> $DIR/issue-20261.rs:4:11
   |
LL |     for (ref i,) in [].iter() {
   |                     --------- the element type for this iterator is not specified
LL |         i.clone();
   |           ^^^^^ cannot infer type
   |
   = note: type must be known at this point

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.