clippy_utils::ty

Function can_partially_move_ty

source
pub fn can_partially_move_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description

Checks whether a type can be partially moved.