blob: f857bf1ac03b98d160f3cb5d44919c29ec760a07 [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:5
3 v.push(v.pop().unwrap());
- first borrow later used by call
---- first mutable borrow occurs here
^ second mutable borrow occurs here
error: aborting due to previous error
= For more information about this error, try `rustc --explain E0499`.