rust/compiler/rustc_driver_impl/src
Trevor Gross 38600a6640
Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkov
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`
2025-06-20 13:36:01 -04:00
..
args.rs Some cleanups around EarlyDiagCtxt 2025-02-02 16:06:43 +00:00
lib.rs Extract Translator struct 2025-06-19 13:02:04 -05:00
pretty.rs Reduce uses of hir_crate. 2025-06-18 15:46:19 +00:00
print.rs Fix ICE on --print=... i/o errors 2023-04-25 08:17:18 -07:00
session_diagnostics.rs Move some calls to before calling codegen_crate 2025-03-21 13:23:07 +00:00
signal_handler.rs Install more signal stack trace handlers 2025-02-17 18:58:31 +01:00