1 error[E0505]: cannot move out of `a` because it is borrowed
2 --> $DIR/borrowck-bad-nested-calls-move.rs:25:9
4 LL | let mut a: Box<_> = Box::new(1);
5 | ----- binding `a` declared here
8 | --- borrow later used by call
10 | --- borrow of `*a` occurs here
12 | ^ move out of `a` occurs here
14 error[E0505]: cannot move out of `a` because it is borrowed
15 --> $DIR/borrowck-bad-nested-calls-move.rs:32:9
17 LL | let mut a: Box<_> = Box::new(1);
18 | ----- binding `a` declared here
20 | --- borrow later used by call
22 | --- borrow of `*a` occurs here
24 | ^ move out of `a` occurs here
26 error: aborting due to 2 previous errors
28 For more information about this error, try `rustc --explain E0505`.