about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Matuszewski <Xanewok@gmail.com>2019-01-13 23:55:47 +0100
committerIgor Matuszewski <Xanewok@gmail.com>2019-01-13 23:55:47 +0100
commit707a9a08bf3f048ca3c3b0dd752c2b1022242333 (patch)
tree987533218e25f47475eda6bb7fb1041cac533344
parent59d7d7d54b4b31d6a20143484536c4806fa8a74e (diff)
downloadrust-707a9a08bf3f048ca3c3b0dd752c2b1022242333.tar.gz
rust-707a9a08bf3f048ca3c3b0dd752c2b1022242333.zip
Retain original pass order
It shouldn't matter, but hey - better safe than sorry!
-rw-r--r--src/librustc_driver/driver.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 6667db35b70..3b7de37ae4b 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -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)
             });
@@ -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)
             });