From fe9ceab35631f03cb3af853986288ab0dc9f41e7 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 29 Feb 2024 11:58:51 +1100 Subject: [PATCH] Rename `DiagnosticMessage` as `DiagMessage`. --- src/parse/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/session.rs b/src/parse/session.rs index 356410f5596..11af9860513 100644 --- a/src/parse/session.rs +++ b/src/parse/session.rs @@ -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, rustc_errors::error::TranslateError<'_>> { rustc_errors::emitter::silent_translate(message)