1 error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact.
2 --> $DIR/drop_forget_copy.rs:33:5
7 = note: `-D drop-copy` implied by `-D warnings`
8 note: argument has type SomeStruct
9 --> $DIR/drop_forget_copy.rs:33:10
14 error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact.
15 --> $DIR/drop_forget_copy.rs:34:5
20 note: argument has type SomeStruct
21 --> $DIR/drop_forget_copy.rs:34:10
26 error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact.
27 --> $DIR/drop_forget_copy.rs:36:5
32 note: argument has type SomeStruct
33 --> $DIR/drop_forget_copy.rs:36:10
38 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
39 --> $DIR/drop_forget_copy.rs:39:5
44 = note: `-D forget-copy` implied by `-D warnings`
45 note: argument has type SomeStruct
46 --> $DIR/drop_forget_copy.rs:39:12
51 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
52 --> $DIR/drop_forget_copy.rs:40:5
57 note: argument has type SomeStruct
58 --> $DIR/drop_forget_copy.rs:40:12
63 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
64 --> $DIR/drop_forget_copy.rs:42:5
69 note: argument has type SomeStruct
70 --> $DIR/drop_forget_copy.rs:42:12