File tree 1 file changed +0
-3
lines changed
compiler/rustc_mir_build/src/build
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ fn fn_sig_and_body(
69
69
tcx : TyCtxt < ' _ > ,
70
70
def_id : LocalDefId ,
71
71
) -> ( Option < & rustc_hir:: FnSig < ' _ > > , & rustc_hir:: Body < ' _ > ) {
72
- // FIXME(#79625): Consider improving MIR to provide the information needed, to avoid going back
73
- // to HIR for it.
74
72
let hir_node = tcx. hir ( ) . get_by_def_id ( def_id) ;
75
73
let ( _, fn_body_id) =
76
74
hir:: map:: associated_body ( hir_node) . expect ( "HIR node is a function with body" ) ;
@@ -106,7 +104,6 @@ fn get_body_span<'tcx>(
106
104
}
107
105
108
106
fn hash_mir_source < ' tcx > ( tcx : TyCtxt < ' tcx > , hir_body : & ' tcx rustc_hir:: Body < ' tcx > ) -> u64 {
109
- // FIXME(cjgillot) Stop hashing HIR manually here.
110
107
let owner = hir_body. id ( ) . hir_id . owner ;
111
108
tcx. hir_owner_nodes ( owner)
112
109
. unwrap ( )
You can’t perform that action at this time.
0 commit comments