about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-05 10:57:24 -0500
committerGitHub <noreply@github.com>2024-01-05 10:57:24 -0500
commitda700b39dfea54849f5ceaf3553bd7866a0906e7 (patch)
treee97c15ebde4b63e6552fee09cda42c84e5d98799 /compiler/rustc_driver_impl/src
parent3087b36eacb5de5a371b753f6fcd7994eb33137c (diff)
parent884322389759a9a9563e492d8bbd96b83c27c2de (diff)
downloadrust-da700b39dfea54849f5ceaf3553bd7866a0906e7.tar.gz
rust-da700b39dfea54849f5ceaf3553bd7866a0906e7.zip
Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk
`Emitter` cleanups

Some improvements I found while looking at this code.

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_driver_impl/src')
-rw-r--r--compiler/rustc_driver_impl/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs
index 2041ffefe77..fd925b62702 100644
--- a/compiler/rustc_driver_impl/src/lib.rs
+++ b/compiler/rustc_driver_impl/src/lib.rs
@@ -1393,7 +1393,7 @@ fn report_ice(
 ) {
     let fallback_bundle =
         rustc_errors::fallback_fluent_bundle(crate::DEFAULT_LOCALE_RESOURCES.to_vec(), false);
-    let emitter = Box::new(rustc_errors::emitter::EmitterWriter::stderr(
+    let emitter = Box::new(rustc_errors::emitter::HumanEmitter::stderr(
         rustc_errors::ColorConfig::Auto,
         fallback_bundle,
     ));