error[E0425]: cannot find value `iter` in this scope --> $DIR/for-loop.rs:16:9 | LL | iter.next(); //~ ERROR cannot find value `iter` in this scope | ^^^^ not found in this scope error: aborting due to previous error For more information about this error, try `rustc --explain E0425`.