1
Fork 0

Rename EmitterWriter as HumanEmitter.

For consistency with other `Emitter` impls, such as `JsonEmitter`,
`SilentEmitter`, `SharedEmitter`, etc.
This commit is contained in:
Nicholas Nethercote 2024-01-05 10:02:40 +11:00
parent e51e98dde6
commit cb9abcae79
9 changed files with 29 additions and 29 deletions

View file

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