mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 13:24:22 +00:00

Most of these changes either add revision names that were apparently missing, or explicitly mark a revision name as currently unused.
16 lines
529 B
Plaintext
16 lines
529 B
Plaintext
error[E0502]: cannot borrow `vec` as mutable because it is also borrowed as immutable
|
|
--> $DIR/two-phase-reservation-sharing-interference.rs:33:17
|
|
|
|
|
LL | let shared = &vec;
|
|
| ---- immutable borrow occurs here
|
|
...
|
|
LL | delay = &mut vec;
|
|
| ^^^^^^^^ mutable borrow occurs here
|
|
...
|
|
LL | shared[0];
|
|
| ------ immutable borrow later used here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0502`.
|