Rename DiagnosticMessage
as DiagMessage
.
This commit is contained in:
parent
78c99ebfea
commit
fe9ceab356
@ -44,7 +44,7 @@ fn fallback_fluent_bundle(&self) -> &rustc_errors::FluentBundle {
|
||||
// subdiagnostics result in a call to this.
|
||||
fn translate_message<'a>(
|
||||
&'a self,
|
||||
message: &'a rustc_errors::DiagnosticMessage,
|
||||
message: &'a rustc_errors::DiagMessage,
|
||||
_: &'a rustc_errors::translation::FluentArgs<'_>,
|
||||
) -> Result<Cow<'_, str>, rustc_errors::error::TranslateError<'_>> {
|
||||
rustc_errors::emitter::silent_translate(message)
|
||||
|
Loading…
Reference in New Issue
Block a user