about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/translation.rs
AgeCommit message (Expand)AuthorLines
2025-06-19Extract Translator structCameron Steffen-14/+29
2024-10-07Convert `Option<&Lrc<T>>` return types to `Option<&T>`.Nicholas Nethercote-2/+1
2024-08-24Fix `elided_named_lifetimes` in codePavel Grigorenko-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+7
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-7/+7
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-4/+2
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-2/+2
2024-01-30Remove the second lifetime from `DiagnosticArg`.Nicholas Nethercote-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-3/+3
2023-02-23Restore behavior when primary bundle is missingmejrs-4/+13
2023-02-22errors: fix translation's run-make testDavid Wood-2/+11
2023-01-08Make translate_message return result and add testsmejrs-7/+8
2023-01-05Improve fluent error messagesmejrs-67/+41
2022-12-01Remove useless borrows and derefsMaybe Waffle-3/+3
2022-11-09Display help message when fluent arg was referenced incorrectlyNilstrieb-9/+29
2022-10-10errors: `DiagnosticMessage::Eager`David Wood-1/+3
2022-10-10errors: use `HashMap` to store diagnostic argsDavid Wood-9/+21
2022-08-30Use more `into_iter` rather than `drain(..)`Donough Liu-1/+1
2022-08-15errors: move translation logic into moduleDavid Wood-0/+103