diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-29 11:58:51 +1100 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-05 12:14:49 +1100 | 
| commit | 18715c98c67235274843974c928a70e84946398b (patch) | |
| tree | b7b610fd528d57a6efcbc78c734e89f1f236f8ec /compiler/rustc_expand/src/proc_macro_server.rs | |
| parent | d849f5c2259ae6b5d2c11e42ff4b78f303a9d909 (diff) | |
| download | rust-18715c98c67235274843974c928a70e84946398b.tar.gz rust-18715c98c67235274843974c928a70e84946398b.zip | |
Rename `DiagnosticMessage` as `DiagMessage`.
Diffstat (limited to 'compiler/rustc_expand/src/proc_macro_server.rs')
| -rw-r--r-- | compiler/rustc_expand/src/proc_macro_server.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_expand/src/proc_macro_server.rs b/compiler/rustc_expand/src/proc_macro_server.rs index efe35c252d8..32a083a72f0 100644 --- a/compiler/rustc_expand/src/proc_macro_server.rs +++ b/compiler/rustc_expand/src/proc_macro_server.rs @@ -512,7 +512,7 @@ impl server::FreeFunctions for Rustc<'_, '_> { } fn emit_diagnostic(&mut self, diagnostic: Diagnostic<Self::Span>) { - let message = rustc_errors::DiagnosticMessage::from(diagnostic.message); + let message = rustc_errors::DiagMessage::from(diagnostic.message); let mut diag: Diag<'_, ()> = Diag::new(&self.psess().dcx, diagnostic.level.to_internal(), message); diag.span(MultiSpan::from_spans(diagnostic.spans)); | 
