Skip to content

Commit fe9ceab

Browse files
committed
Rename DiagnosticMessage as DiagMessage.
1 parent 78c99eb commit fe9ceab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse/session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Translate for SilentEmitter {
4444
// subdiagnostics result in a call to this.
4545
fn translate_message<'a>(
4646
&'a self,
47-
message: &'a rustc_errors::DiagnosticMessage,
47+
message: &'a rustc_errors::DiagMessage,
4848
_: &'a rustc_errors::translation::FluentArgs<'_>,
4949
) -> Result<Cow<'_, str>, rustc_errors::error::TranslateError<'_>> {
5050
rustc_errors::emitter::silent_translate(message)

0 commit comments

Comments
 (0)