1 error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact.
2 --> drop_forget_copy.rs:33:5
7 = note: `-D drop-copy` implied by `-D warnings`
8 note: argument has type SomeStruct
9 --> 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 --> drop_forget_copy.rs:34:5
20 = note: `-D drop-copy` implied by `-D warnings`
21 note: argument has type SomeStruct
22 --> drop_forget_copy.rs:34:10
27 error: calls to `std::mem::drop` with a value that implements Copy. Dropping a copy leaves the original intact.
28 --> drop_forget_copy.rs:36:5
33 = note: `-D drop-copy` implied by `-D warnings`
34 note: argument has type SomeStruct
35 --> drop_forget_copy.rs:36:10
40 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
41 --> drop_forget_copy.rs:39:5
46 = note: `-D forget-copy` implied by `-D warnings`
47 note: argument has type SomeStruct
48 --> drop_forget_copy.rs:39:12
53 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
54 --> drop_forget_copy.rs:40:5
59 = note: `-D forget-copy` implied by `-D warnings`
60 note: argument has type SomeStruct
61 --> drop_forget_copy.rs:40:12
66 error: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
67 --> drop_forget_copy.rs:42:5
72 = note: `-D forget-copy` implied by `-D warnings`
73 note: argument has type SomeStruct
74 --> drop_forget_copy.rs:42:12
79 error: aborting due to previous error(s)
82 To learn more, run the command again with --verbose.