From 44ef075aeb308422ac513ddc8f18978d9b92eea4 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Mon, 16 Jan 2023 14:04:28 +0000 Subject: [PATCH] Remove a now-useless function call --- compiler/rustc_driver/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index 98c4383b62e..f50ad0137b8 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -333,8 +333,6 @@ fn run_compiler( return early_exit(); } - queries.global_ctxt()?; - if sess.opts.output_types.contains_key(&OutputType::DepInfo) && sess.opts.output_types.len() == 1 {