blob: 42baecd7943ddff5ebee422c1008c1bf01a773a8 [file] [log] [blame]
error[E0507]: cannot move out of borrowed content
--> $DIR/borrowck-issue-2657-2.rs:17:18
|
LL | let _b = *y; //~ ERROR cannot move out
| ^^
| |
| cannot move out of borrowed content
| help: consider using a reference instead: `&*y`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0507`.