]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/issue-11715.stderr
Rollup merge of #34853 - frewsxcv:vec-truncate, r=GuillaumeGomez
[rust.git] / src / test / ui / codemap_tests / issue-11715.stderr
1 error[E0499]: cannot borrow `x` as mutable more than once at a time
2    --> $DIR/issue-11715.rs:100:18
3     |
4 99  |     let y = &mut x;
5     |                  - first mutable borrow occurs here
6 100 |     let z = &mut x;
7     |                  ^ second mutable borrow occurs here
8 101 | }
9     | - first borrow ends here
10
11 error: aborting due to previous error
12