77f4022303
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
error[E0499]: cannot borrow `v` as mutable more than once at a time
|
|
--> $DIR/one_line.rs:13:12
|
|
|
|
|
13 | v.push(v.pop().unwrap());
|
|
| - ^ - first borrow ends here
|
|
| | |
|
|
| | second mutable borrow occurs here
|
|
| first mutable borrow occurs here
|
|
|
|
error: aborting due to previous error
|
|
|