Skip to content

Commit

Permalink
Rename DiagnosticMessage as DiagMessage.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Mar 5, 2024
1 parent 78c99eb commit fe9ceab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Translate for SilentEmitter {
// 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)
Expand Down

0 comments on commit fe9ceab

Please sign in to comment.