1 error[E0509]: cannot move out of type `DropStruct`, which implements the `Drop` trait
2 --> $DIR/E0509.rs:26:23
4 26 | let fancy_field = drop_struct.fancy; //~ ERROR E0509
7 | cannot move out of here
8 | help: consider using a reference instead: `&drop_struct.fancy`
10 error: aborting due to previous error