Module rustc_lint::drop_forget_useless
source · Structs
Statics
- The
dropping_copy_typeslint checks for calls tostd::mem::dropwith a value that derives the Copy trait. - The
dropping_referenceslint checks for calls tostd::mem::dropwith a reference instead of an owned value. - The
forgetting_copy_typeslint checks for calls tostd::mem::forgetwith a value that derives the Copy trait. - The
forgetting_referenceslint checks for calls tostd::mem::forgetwith a reference instead of an owned value.