pub fn hir_ty_to_ty<'tcx>(tcx: TyCtxt<'tcx>, hir_ty: &Ty<'tcx>) -> Ty<'tcx>
Expand description

A quasi-deprecated helper used in rustdoc and clippy to get the type from a HIR node.