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_macros/src | |
| parent | d849f5c2259ae6b5d2c11e42ff4b78f303a9d909 (diff) | |
| download | rust-18715c98c67235274843974c928a70e84946398b.tar.gz rust-18715c98c67235274843974c928a70e84946398b.zip | |
Rename `DiagnosticMessage` as `DiagMessage`.
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/diagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/diagnostic.rs b/compiler/rustc_macros/src/diagnostics/diagnostic.rs index 5659569c645..a1a7b19642b 100644 --- a/compiler/rustc_macros/src/diagnostics/diagnostic.rs +++ b/compiler/rustc_macros/src/diagnostics/diagnostic.rs @@ -165,7 +165,7 @@ impl<'a> LintDiagnosticDerive<'a> { #implementation; } - fn msg(&self) -> rustc_errors::DiagnosticMessage { + fn msg(&self) -> rustc_errors::DiagMessage { #msg } } |
