about summary refs log tree commit diff
path: root/compiler/rustc_driver/src
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-06 15:07:00 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-01-16 08:03:06 +0000
commit9e9c871a7842bed0ed566d0ee0726658036d1c1e (patch)
treea6436f4eab74644d0d2c8a0fe0164e06f2de6521 /compiler/rustc_driver/src
parent41edaac716dde55b6a9d83ae4da0fba354ae5ba8 (diff)
downloadrust-9e9c871a7842bed0ed566d0ee0726658036d1c1e.tar.gz
rust-9e9c871a7842bed0ed566d0ee0726658036d1c1e.zip
Remove `prepare_outputs`
Diffstat (limited to 'compiler/rustc_driver/src')
-rw-r--r--compiler/rustc_driver/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs
index a62e5dec4b8..c56443512f4 100644
--- a/compiler/rustc_driver/src/lib.rs
+++ b/compiler/rustc_driver/src/lib.rs
@@ -362,7 +362,7 @@ fn run_compiler(
                 return early_exit();
             }
 
-            queries.prepare_outputs()?;
+            queries.global_ctxt()?;
 
             if sess.opts.output_types.contains_key(&OutputType::DepInfo)
                 && sess.opts.output_types.len() == 1
@@ -370,8 +370,6 @@ fn run_compiler(
                 return early_exit();
             }
 
-            queries.global_ctxt()?;
-
             if sess.opts.unstable_opts.no_analysis {
                 return early_exit();
             }