Function clippy_lints::utils::walk_ptrs_ty_depth [] [src]

pub fn walk_ptrs_ty_depth(ty: Ty) -> (Ty, usize)

Return the base type for references and raw pointers, and count reference depth.