1 error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
2 --> $DIR/many-mutable-borrows.rs:2:9
4 LL | let v = Vec::new();
7 | --------- cannot borrow as mutable
9 | --------- cannot borrow as mutable
11 | --------- cannot borrow as mutable
13 | --------- cannot borrow as mutable
15 | --------- cannot borrow as mutable
17 | --------- cannot borrow as mutable
19 | --------- cannot borrow as mutable
21 | --------- cannot borrow as mutable
23 | --------- cannot borrow as mutable
25 = note: ...and 5 other attempted mutable borrows
26 help: consider changing this to be mutable
28 LL | let mut v = Vec::new();
31 error: aborting due to previous error
33 For more information about this error, try `rustc --explain E0596`.