From 7b47f5e34e92d12eea2efe0dcc790e0ebf673e14 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Tue, 26 Jan 2016 18:28:31 +1300 Subject: [PATCH] rebasing --- src/librustc_driver/driver.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs index 87ac9a2052b94..6189416dd578a 100644 --- a/src/librustc_driver/driver.rs +++ b/src/librustc_driver/driver.rs @@ -778,7 +778,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session, time(time_passes, "const checking", - || middle::check_const::check_crate(tcx)); + || consts::check_crate(tcx)); let access_levels = time(time_passes, "privacy checking", || { @@ -819,7 +819,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session, time(time_passes, "rvalue checking", - || middle::check_rvalues::check_crate(tcx)); + || rvalues::check_crate(tcx)); // Avoid overwhelming user with errors if type checking failed. // I'm not sure how helpful this is, to be honest, but it avoids