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