blob: 60e7afbdf26f9d7f78c3e84fcc25ee649e69de5a [file] [log] [blame]
---
source: codespan-reporting/tests/term.rs
expression: TEST_DATA.emit_no_color(&config)
---
error[E0499]: cannot borrow `v` as mutable more than once at a time
--> one_line.rs:3:12
|
3 | v.push(v.pop().unwrap());
| - ---- ^ second mutable borrow occurs here
| | |
| | first mutable borrow occurs here
| first borrow later used by call
error: aborting due to previous error
= For more information about this error, try `rustc --explain E0499`.