1 error[E0499]: cannot borrow `xs` as mutable more than once at a time
2 --> $DIR/vec-mut-iter-borrow.rs:5:9
4 LL | for x in &mut xs {
7 | first mutable borrow occurs here
8 | first borrow later used here
10 | ^^^^^^^^^^ second mutable borrow occurs here
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0499`.