Module rustc_lint::drop_forget_useless
source · Structs
Statics
- The
drop_copylint checks for calls tostd::mem::dropwith a value that derives the Copy trait. - The
drop_reflint checks for calls tostd::mem::dropwith a reference instead of an owned value. - The
forget_copylint checks for calls tostd::mem::forgetwith a value that derives the Copy trait. - The
forget_reflint checks for calls tostd::mem::forgetwith a reference instead of an owned value.