error[E0507]: cannot move out of borrowed content | |
--> $DIR/borrowck-fn-in-const-a.rs:9:16 | |
| | |
LL | return *x | |
| ^^ cannot move out of borrowed content | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0507`. |