Skip to content

Commit

Permalink
Retain original pass order
Browse files Browse the repository at this point in the history
It shouldn't matter, but hey - better safe than sorry!
  • Loading branch information
Xanewok committed Jan 13, 2019
1 parent 59d7d7d commit 707a9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_driver/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,6 @@ where
// tcx available.
time(sess, "dep graph tcx init", || rustc_incremental::dep_graph_tcx_init(tcx));

time(sess, "loop checking", || loops::check_crate(tcx));

time(sess, "looking for plugin registrar", || {
plugin::build::find_plugin_registrar(tcx)
});
Expand All @@ -1253,6 +1251,8 @@ where
proc_macro_decls::find(tcx)
});

time(sess, "loop checking", || loops::check_crate(tcx));

time(sess, "attribute checking", || {
hir::check_attr::check_crate(tcx)
});
Expand Down

0 comments on commit 707a9a0

Please sign in to comment.