clippy_utils::ty

Function is_manually_drop

source
pub fn is_manually_drop(ty: Ty<'_>) -> bool
Expand description

Checks if the type is core::mem::ManuallyDrop<_>