1 error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
2 --> $DIR/two-phase-reservation-sharing-interference-future-compat-lint.rs:13:9
5 | -- immutable borrow occurs here
7 LL | v.push(shared.len());
10 | | immutable borrow later used here
11 | mutable borrow occurs here
13 error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
14 --> $DIR/two-phase-reservation-sharing-interference-future-compat-lint.rs:24:9
17 | -- immutable borrow occurs here
19 LL | v.push(shared.len());
20 | ^^^^^^^------------^
22 | | immutable borrow later used here
23 | mutable borrow occurs here
25 error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
26 --> $DIR/two-phase-reservation-sharing-interference-future-compat-lint.rs:37:9
29 | -- immutable borrow occurs here
31 LL | v.push(shared.len());
32 | ^^^^^^^------------^
34 | | immutable borrow later used here
35 | mutable borrow occurs here
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0502`.