pub fn walk_ptrs_hir_ty<'tcx>(ty: &'tcx Ty<'tcx>) -> &'tcx Ty<'tcx>
Returns the base type for HIR references and pointers.