1 error[E0509]: cannot move out of type `DropStruct`, which implements the `Drop` trait
2 --> $DIR/E0509.rs:26:23
4 LL | let fancy_field = drop_struct.fancy; //~ ERROR E0509
7 | cannot move out of here
8 | help: consider borrowing here: `&drop_struct.fancy`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0509`.