rust/compiler/rustc_parse/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
..
lexer Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
parser Extract Translator struct 2025-06-19 13:02:04 -05:00
errors.rs Rework how the disallowed qualifier lints are generated 2025-06-13 18:13:34 +02:00
lib.rs Remove all unused feature gates from the compiler 2025-06-08 14:50:42 +00:00
validate_attr.rs expected word diagnostic test 2025-06-20 15:06:29 +02:00