Function clippy_utils::ty::has_drop
source · pub fn has_drop<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> boolExpand description
Checks whether this type implements Drop.
pub fn has_drop<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> boolChecks whether this type implements Drop.