fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0505]: cannot move out of `*a` because it is borrowed 2 --> $DIR/borrowck-move-from-subpath-of-borrowed-path.rs:12:13 3 | 4LL | let b = &a; 5 | -- borrow of `a` occurs here 6LL | 7LL | let z = *a; 8 | ^^ move out of `*a` occurs here 9LL | b.use_ref(); 10 | - borrow later used here 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0505`.