We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c885f06 + 34f6158 commit 0506ff5Copy full SHA for 0506ff5
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