summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/one_line.stderr
blob: a73575a8d57f1ae65783eec6492c758db02c3c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0499]: cannot borrow `v` as mutable more than once at a time
  --> $DIR/one_line.rs:13:12
   |
13 |     v.push(v.pop().unwrap());
   |     -      ^               - first borrow ends here
   |     |      |
   |     |      second mutable borrow occurs here
   |     first mutable borrow occurs here

error: aborting due to previous error