diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-05 10:02:40 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-05 10:02:40 +1100 |
| commit | cb9abcae7936181331a2e5a7d0de8506c8f98690 (patch) | |
| tree | add679111a4ba31745e505029ab6e5fed00b5429 /compiler/rustc_driver_impl/src | |
| parent | e51e98dde6a60637b6a71b8105245b629ac3fe77 (diff) | |
| download | rust-cb9abcae7936181331a2e5a7d0de8506c8f98690.tar.gz rust-cb9abcae7936181331a2e5a7d0de8506c8f98690.zip | |
Rename `EmitterWriter` as `HumanEmitter`.
For consistency with other `Emitter` impls, such as `JsonEmitter`, `SilentEmitter`, `SharedEmitter`, etc.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 2 |
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 ca6b0afc76a..ebdea997861 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, )); |
