1
Fork 0

Rollup merge of #136636 - bjorn3:error_cleanup, r=compiler-errors

Couple of minor cleanups to the diagnostic infrastructure
This commit is contained in:
Matthias Krüger 2025-02-06 21:56:28 +01:00 committed by GitHub
commit 79e5424e31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 22 deletions

View file

@ -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,

View file

@ -65,7 +65,6 @@ where
static USING_INTERNAL_FEATURES: AtomicBool = AtomicBool::new(false);
let sess = build_session(
early_dcx,
sessopts,
io,
None,