Skip to content

Commit 42ab88d

Browse files
committed
Remove redundant query invocations in rustdoc
1 parent ebf1b92 commit 42ab88d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustdoc/core.rs

-5
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,6 @@ pub(crate) fn run_global_ctxt(
324324
let _ = tcx.sess.time("wf_checking", || {
325325
tcx.hir().try_par_for_each_module(|module| tcx.ensure().check_mod_type_wf(module))
326326
});
327-
tcx.sess.time("item_types_checking", || {
328-
tcx.hir().for_each_module(|module| {
329-
let _ = tcx.ensure().check_mod_type_wf(module);
330-
});
331-
});
332327

333328
if let Some(guar) = tcx.dcx().has_errors() {
334329
return Err(guar);

0 commit comments

Comments
 (0)