fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0505]: cannot move out of `a` because it is borrowed 2 --> $DIR/borrowck-bad-nested-calls-move.rs:25:9 3 | 4LL | add( 5 | --- borrow later used by call 6LL | &*a, 7 | --- borrow of `*a` occurs here 8LL | a); 9 | ^ move out of `a` occurs here 10 11error[E0505]: cannot move out of `a` because it is borrowed 12 --> $DIR/borrowck-bad-nested-calls-move.rs:32:9 13 | 14LL | add( 15 | --- borrow later used by call 16LL | &*a, 17 | --- borrow of `*a` occurs here 18LL | a); 19 | ^ move out of `a` occurs here 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0505`.