The dropping_copy_types lint checks for calls to std::mem::drop with a value
that derives the Copy trait.
The dropping_references lint checks for calls to std::mem::drop with a reference
instead of an owned value.
The forgetting_copy_types lint checks for calls to std::mem::forget with a value
that derives the Copy trait.
The forgetting_references lint checks for calls to std::mem::forget with a reference
instead of an owned value.
The undropped_manually_drops lint check for calls to std::mem::drop with
a value of std::mem::ManuallyDrop which doesn’t drop.