Skip to content

Commit 59ead52

Browse files
committed
Remove redundant query invocations in rustdoc
1 parent 435abb2 commit 59ead52

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
@@ -325,11 +325,6 @@ pub(crate) fn run_global_ctxt(
325325
let _ = tcx.sess.time("wf_checking", || {
326326
tcx.hir().try_par_for_each_module(|module| tcx.ensure().check_mod_type_wf(module))
327327
});
328-
tcx.sess.time("item_types_checking", || {
329-
tcx.hir().for_each_module(|module| {
330-
let _ = tcx.ensure().check_mod_type_wf(module);
331-
});
332-
});
333328

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

0 commit comments

Comments
 (0)