]> git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/issue-52669.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / nll / issue-52669.stderr
1 error[E0382]: borrow of moved value: `a.b`
2 --> $DIR/issue-52669.rs:13:5
3 |
4 LL | fn bar(mut a: A) -> B {
5 | ----- move occurs because `a` has type `A`, which does not implement the `Copy` trait
6 LL | a.b = B;
7 LL | foo(a);
8 | - value moved here
9 LL | a.b.clone()
10 | ^^^^^^^^^^^ value borrowed here after move
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0382`.