File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_hir_typeck/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ fn used_trait_imports(tcx: TyCtxt<'_>, def_id: LocalDefId) -> &UnordSet<LocalDef
8787}
8888
8989fn typeck < ' tcx > ( tcx : TyCtxt < ' tcx > , def_id : LocalDefId ) -> & ' tcx ty:: TypeckResults < ' tcx > {
90- typeck_with_fallback ( tcx, def_id, None )
90+ typeck_with_inspect ( tcx, def_id, None )
9191}
9292
9393/// Same as `typeck` but `inspect` is invoked on evaluation of each root obligation.
@@ -99,11 +99,11 @@ pub fn inspect_typeck<'tcx>(
9999 def_id : LocalDefId ,
100100 inspect : ObligationInspector < ' tcx > ,
101101) -> & ' tcx ty:: TypeckResults < ' tcx > {
102- typeck_with_fallback ( tcx, def_id, Some ( inspect) )
102+ typeck_with_inspect ( tcx, def_id, Some ( inspect) )
103103}
104104
105105#[ instrument( level = "debug" , skip( tcx, inspector) , ret) ]
106- fn typeck_with_fallback < ' tcx > (
106+ fn typeck_with_inspect < ' tcx > (
107107 tcx : TyCtxt < ' tcx > ,
108108 def_id : LocalDefId ,
109109 inspector : Option < ObligationInspector < ' tcx > > ,
You can’t perform that action at this time.
0 commit comments