pub fn ty_from_hir_ty<'tcx>(
cx: &LateContext<'tcx>,
hir_ty: &Ty<'tcx>,
) -> Ty<'tcx>
Expand description
Lower a hir::Ty
to a rustc_middle::ty::Ty
.
pub fn ty_from_hir_ty<'tcx>(
cx: &LateContext<'tcx>,
hir_ty: &Ty<'tcx>,
) -> Ty<'tcx>
Lower a hir::Ty
to a rustc_middle::ty::Ty
.