Function clippy_utils::ty::walk_ptrs_ty_depth
source ยท pub fn walk_ptrs_ty_depth(ty: Ty<'_>) -> (Ty<'_>, usize)
Expand description
Returns the base type for references and raw pointers, and count reference depth.
pub fn walk_ptrs_ty_depth(ty: Ty<'_>) -> (Ty<'_>, usize)
Returns the base type for references and raw pointers, and count reference depth.