1 error[E0505]: cannot move out of `x` because it is borrowed
2 --> $DIR/borrowck-unary-move.rs:3:10
4 LL | fn foo(x: Box<isize>) -> isize {
5 | - binding `x` declared here
7 | --- borrow of `*x` occurs here
9 | ^ move out of `x` occurs here
11 | -- borrow later used here
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0505`.