We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DiagnosticMessage
DiagMessage
1 parent c885f06 commit 34f6158Copy full SHA for 34f6158
src/diagnostics.rs
@@ -1,7 +1,7 @@
1
use std::fmt::{self, Write};
2
use std::num::NonZero;
3
4
-use rustc_errors::{Diag, DiagnosticMessage, Level};
+use rustc_errors::{Diag, DiagMessage, Level};
5
use rustc_span::{SpanData, Symbol, DUMMY_SP};
6
use rustc_target::abi::{Align, Size};
7
@@ -95,7 +95,7 @@ impl fmt::Debug for TerminationInfo {
95
}
96
97
impl MachineStopType for TerminationInfo {
98
- fn diagnostic_message(&self) -> DiagnosticMessage {
+ fn diagnostic_message(&self) -> DiagMessage {
99
self.to_string().into()
100
101
fn add_args(
0 commit comments