blob: 7342f3f788a383f5b86f65c2ea521f3a48a34c9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
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());
│ - ---- ^ 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`.
|