mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
059b7d07ef
Move eager translation to a method on Diag This will allow us to eagerly translate messages on a top-level diagnostic, such as a `LintDiagnostic`. As a bonus, we can remove the awkward closure passed into Subdiagnostic and make better use of `Into`. r? `@nnethercote`