about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-06-20 13:36:01 -0400
committerGitHub <noreply@github.com>2025-06-20 13:36:01 -0400
commit5f759a9c1f82cbdf6f6168385d0bb4c0e904fd40 (patch)
treecbc63a0961bed539d021b808a5432398e6daab67 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent42614bf82e2e29ae98438e7fe156d9f6b6bc0483 (diff)
parentade2682b62136b8bf5ece5b84343be44e25fe375 (diff)
downloadrust-5f759a9c1f82cbdf6f6168385d0bb4c0e904fd40.tar.gz
rust-5f759a9c1f82cbdf6f6168385d0bb4c0e904fd40.zip
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`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions