Module rustc_lint::traits
source · Structs
- Lint for bounds of the form
T: Drop
, which usually indicate an attempt to emulatestd::mem::needs_drop
.
Statics
- The
drop_bounds
lint checks for generics withstd::ops::Drop
as bounds. - The
dyn_drop
lint checks for trait objects withstd::ops::Drop
.