fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0507]: cannot move out of `*x` which is behind a raw pointer 2 --> $DIR/borrowck-move-from-unsafe-ptr.rs:2:13 3 | 4LL | let y = *x; 5 | ^^ 6 | | 7 | move occurs because `*x` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait 8 | help: consider borrowing here: `&*x` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0507`.