about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2017-08-13 16:50:17 +0200
committerGitHub <noreply@github.com>2017-08-13 16:50:17 +0200
commit61ab991405fe848c4c3b48b7fece443d84bc893b (patch)
tree9b3bd834f338234219bdcede45578769937d7ba9
parent1c28cf5b68e38d58ad14d0e145746a0e435cfe23 (diff)
downloadrust-61ab991405fe848c4c3b48b7fece443d84bc893b.tar.gz
rust-61ab991405fe848c4c3b48b7fece443d84bc893b.zip
Update driver.rs
-rw-r--r--src/librustc_driver/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index 51121669aef..0e08849b1ff 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -107,7 +107,7 @@ pub fn compile_input(sess: &Session,
     // We need nested scopes here, because the intermediate results can keep
     // large chunks of memory alive and we want to free them as soon as
     // possible to keep the peak memory usage low
-    let (outputs, trans): (OutputFilenames, write::OngoingCrateTranslation) = {
+    let (outputs, trans): (OutputFilenames, OngoingCrateTranslation) = {
         let krate = match phase_1_parse_input(control, sess, input) {
             Ok(krate) => krate,
             Err(mut parse_error) => {