summary refs log tree commit diff
path: root/src/test/ui/issue-20261.stderr
blob: 6cdddcff9291326be0863a5b2a0db157f59cc91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0282]: type annotations needed
  --> $DIR/issue-20261.rs:14: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`.