about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-05 15:01:17 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-06 17:29:15 +0000
commit9a833de62a1de598ea54ad0b8ac01369f8d23c85 (patch)
tree27cf0f89dc00fa253d68d11c7dc0459f8e21eeff /compiler/rustc_interface/src/interface.rs
parent79f82ad5e89aa421e2c765fea2098b23beb69b40 (diff)
downloadrust-9a833de62a1de598ea54ad0b8ac01369f8d23c85.tar.gz
rust-9a833de62a1de598ea54ad0b8ac01369f8d23c85.zip
Construct DiagCtxt a bit earlier in build_session
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
-rw-r--r--compiler/rustc_interface/src/interface.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs
index 97fc542910c..b35703d8e73 100644
--- a/compiler/rustc_interface/src/interface.rs
+++ b/compiler/rustc_interface/src/interface.rs
@@ -442,7 +442,6 @@ pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Se
             locale_resources.push(codegen_backend.locale_resource());
 
             let mut sess = rustc_session::build_session(
-                early_dcx,
                 config.opts,
                 CompilerIO {
                     input: config.input,