Skip to content

Commit a407d60

Browse files
Disable the HIR version of the unused variable check
1 parent d69bdfe commit a407d60

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustc_interface/passes.rs

-2
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,6 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
823823
//
824824
// maybe move the check to a MIR pass?
825825
let local_def_id = tcx.hir().local_def_id(module);
826-
827-
tcx.ensure().check_mod_liveness(local_def_id);
828826
tcx.ensure().check_mod_intrinsics(local_def_id);
829827
});
830828
});

0 commit comments

Comments
 (0)