File tree 1 file changed +3
-3
lines changed
compiler/rustc_hir_typeck/src
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
87
87
}
88
88
89
89
fn 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 )
91
91
}
92
92
93
93
/// Same as `typeck` but `inspect` is invoked on evaluation of each root obligation.
@@ -99,11 +99,11 @@ pub fn inspect_typeck<'tcx>(
99
99
def_id : LocalDefId ,
100
100
inspect : ObligationInspector < ' tcx > ,
101
101
) -> & ' tcx ty:: TypeckResults < ' tcx > {
102
- typeck_with_fallback ( tcx, def_id, Some ( inspect) )
102
+ typeck_with_inspect ( tcx, def_id, Some ( inspect) )
103
103
}
104
104
105
105
#[ instrument( level = "debug" , skip( tcx, inspector) , ret) ]
106
- fn typeck_with_fallback < ' tcx > (
106
+ fn typeck_with_inspect < ' tcx > (
107
107
tcx : TyCtxt < ' tcx > ,
108
108
def_id : LocalDefId ,
109
109
inspector : Option < ObligationInspector < ' tcx > > ,
You can’t perform that action at this time.
0 commit comments