We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DiagnosticMessage
DiagMessage
1 parent 78c99eb commit fe9ceabCopy full SHA for fe9ceab
src/parse/session.rs
@@ -44,7 +44,7 @@ impl Translate for SilentEmitter {
44
// subdiagnostics result in a call to this.
45
fn translate_message<'a>(
46
&'a self,
47
- message: &'a rustc_errors::DiagnosticMessage,
+ message: &'a rustc_errors::DiagMessage,
48
_: &'a rustc_errors::translation::FluentArgs<'_>,
49
) -> Result<Cow<'_, str>, rustc_errors::error::TranslateError<'_>> {
50
rustc_errors::emitter::silent_translate(message)
0 commit comments