File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
compiler/rustc_mir_build/src/build Expand file tree Collapse file tree 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(
6969 tcx : TyCtxt < ' _ > ,
7070 def_id : LocalDefId ,
7171) -> ( 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.
7472 let hir_node = tcx. hir ( ) . get_by_def_id ( def_id) ;
7573 let ( _, fn_body_id) =
7674 hir:: map:: associated_body ( hir_node) . expect ( "HIR node is a function with body" ) ;
@@ -106,7 +104,6 @@ fn get_body_span<'tcx>(
106104}
107105
108106fn hash_mir_source < ' tcx > ( tcx : TyCtxt < ' tcx > , hir_body : & ' tcx rustc_hir:: Body < ' tcx > ) -> u64 {
109- // FIXME(cjgillot) Stop hashing HIR manually here.
110107 let owner = hir_body. id ( ) . hir_id . owner ;
111108 tcx. hir_owner_nodes ( owner)
112109 . unwrap ( )
You can’t perform that action at this time.
0 commit comments