]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/vtable/issue-97381.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / traits / vtable / issue-97381.stderr
1 error[E0505]: cannot move out of `v` because it is borrowed
2 --> $DIR/issue-97381.rs:26:14
3 |
4 LL | let el = &v[0];
5 | - borrow of `v` occurs here
6 LL |
7 LL | for _ in v {
8 | ^ move out of `v` occurs here
9 LL |
10 LL | println!("{}", ***el > 0);
11 | ---- borrow later used here
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0505`.