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,
    inspector: Option<ObligationInspector<'tcx>>
) -> &'tcx TypeckResults<'tcx>