1 error[E0505]: cannot move out of `t0` because it is borrowed
2 --> $DIR/borrowck-move-mut-base-ptr.rs:10:14
4 LL | fn foo(t0: &mut isize) {
5 | -- binding `t0` declared here
6 LL | let p: &isize = &*t0; // Freezes `*t0`
7 | ---- borrow of `*t0` occurs here
9 | ^^ move out of `t0` occurs here
12 | ----------- borrow later used here
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0505`.