rust/compiler/rustc_session/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
..
config Implement the internal feature cfg_target_has_reliable_f16_f128 2025-04-27 19:58:44 +00:00
code_stats.rs Document why CodeStats::type_sizes is public 2025-04-21 17:36:36 +02:00
config.rs Rollup merge of #142377 - Urgau:unremap-rustc-dev, r=jieyouxu 2025-06-18 19:40:32 +02:00
cstore.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00
errors.rs move -Ctarget-feature handling into shared code 2025-06-19 09:44:01 +09:00
filesearch.rs apply clippy::or_fun_call 2025-06-17 13:59:53 +03:00
lib.rs move -Ctarget-feature handling into shared code 2025-06-19 09:44:01 +09:00
options.rs move -Ctarget-feature handling into shared code 2025-06-19 09:44:01 +09:00
output.rs Initial support for dynamically linked crates 2025-05-04 22:03:15 +03:00
parse.rs Extract SilentEmitter 2025-06-19 13:05:01 -05:00
search_paths.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
session.rs Extract Translator struct 2025-06-19 13:02:04 -05:00
utils.rs session: Cleanup CanonicalizedPath::new 2025-04-26 18:42:15 +03:00