summary refs log tree commit diff
path: root/src/test/ui/borrowck/borrowck-move-from-unsafe-ptr.nll.stderr
blob: 5b784657953623cf66b9e9722019a776848465d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0507]: cannot move out of dereference of raw pointer
  --> $DIR/borrowck-move-from-unsafe-ptr.rs:2:13
   |
LL |     let y = *x; //~ ERROR cannot move out of dereference of raw pointer
   |             ^^
   |             |
   |             cannot move out of dereference of raw pointer
   |             help: consider removing the `*`: `x`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0507`.