1 error[E0382]: borrow of moved value: `a.b`
2 --> $DIR/issue-52669.rs:13:5
4 LL | fn bar(mut a: A) -> B {
5 | ----- move occurs because `a` has type `A`, which does not implement the `Copy` trait
10 | ^^^ value borrowed here after move
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0382`.