Skip to content

Commit 707a9a0

Browse files
committed
Retain original pass order
It shouldn't matter, but hey - better safe than sorry!
1 parent 59d7d7d commit 707a9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_driver/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,8 +1243,6 @@ where
12431243
// tcx available.
12441244
time(sess, "dep graph tcx init", || rustc_incremental::dep_graph_tcx_init(tcx));
12451245

1246-
time(sess, "loop checking", || loops::check_crate(tcx));
1247-
12481246
time(sess, "looking for plugin registrar", || {
12491247
plugin::build::find_plugin_registrar(tcx)
12501248
});
@@ -1253,6 +1251,8 @@ where
12531251
proc_macro_decls::find(tcx)
12541252
});
12551253

1254+
time(sess, "loop checking", || loops::check_crate(tcx));
1255+
12561256
time(sess, "attribute checking", || {
12571257
hir::check_attr::check_crate(tcx)
12581258
});

0 commit comments

Comments
 (0)