Function rustc_hir_typeck::typeck_with_fallback
source · pub(crate) fn typeck_with_fallback<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: LocalDefId,
fallback: impl Fn() -> Ty<'tcx> + 'tcx
) -> &'tcx TypeckResults<'tcx>
pub(crate) fn typeck_with_fallback<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: LocalDefId,
fallback: impl Fn() -> Ty<'tcx> + 'tcx
) -> &'tcx TypeckResults<'tcx>