rust/src/test/ui/codemap_tests/one_line.stderr

13 lines
436 B
Plaintext
Raw Normal View History

error[E0499]: cannot borrow `v` as mutable more than once at a time
2016-08-16 02:52:30 -05:00
--> $DIR/one_line.rs:13:12
|
2018-02-22 18:42:32 -06:00
LL | v.push(v.pop().unwrap()); //~ ERROR cannot borrow
| - ^ - first borrow ends here
| | |
| | second mutable borrow occurs here
| first mutable borrow occurs here
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0499`.