Skip to content

Commit e8381de

Browse files
committed
coverage: Remove some FIXMEs that are now fixed
1 parent 1d17346 commit e8381de

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_mir_build/src/build/coverageinfo.rs

-3
Original file line numberDiff line numberDiff 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

108106
fn 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()

0 commit comments

Comments
 (0)