]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/one_line.nll.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / codemap_tests / one_line.nll.stderr
1 error[E0499]: cannot borrow `v` as mutable more than once at a time
2   --> $DIR/one_line.rs:13:12
3    |
4 LL |     v.push(v.pop().unwrap()); //~ ERROR cannot borrow
5    |     -------^----------------
6    |     |      |
7    |     |      second mutable borrow occurs here
8    |     first mutable borrow occurs here
9    |     borrow later used here
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0499`.