Refactor Translator My main motivation was to simplify the usage of `SilentEmitter` for users like rustfmt. A few refactoring opportunities arose along the way. * Replace `Translate` trait with `Translator` struct * Replace `Emitter: Translate` with `Emitter::translator` * Split `SilentEmitter` into `FatalOnlyEmitter` and `SilentEmitter` |
||
|---|---|---|
| .. | ||
| args.rs | ||
| lib.rs | ||
| pretty.rs | ||
| print.rs | ||
| session_diagnostics.rs | ||
| signal_handler.rs | ||