clippy_utils::ty

Function walk_ptrs_hir_ty

source
pub fn walk_ptrs_hir_ty<'tcx>(ty: &'tcx Ty<'tcx>) -> &'tcx Ty<'tcx>
Expand description

Returns the base type for HIR references and pointers.