1
Fork 0
rust/src/test/ui/codemap_tests/one_line.stderr

13 lines
446 B
Text
Raw Normal View History

error[E0499]: cannot borrow `v` as mutable more than once at a time
2016-08-16 16:52:30 +09:00
--> $DIR/one_line.rs:13:12
|
2018-02-23 03:42:32 +03: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-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0499"