mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 12:16:22 +00:00

From `impl Into<DiagnosticMessage>` to `impl Into<Cow<'static, str>>`. Because these functions don't produce user-facing output and we don't want their strings to be translated.
For more information about how rustc works, see the rustc dev guide.