Module rustc_lint::traits

source ·

Structs

  • Lint for bounds of the form T: Drop, which usually indicate an attempt to emulate std::mem::needs_drop.

Statics

  • The drop_bounds lint checks for generics with std::ops::Drop as bounds.
  • The dyn_drop lint checks for trait objects with std::ops::Drop.