diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-18 11:46:16 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-21 11:39:53 -0400 |
| commit | 191fac68266b73158ff048c83556ea91cbf977fd (patch) | |
| tree | 5e744529ae1f878b19d5991e43e44a6bc6098ed9 /compiler/rustc_macros/src | |
| parent | 19b348fed44342d8addbbb5e8f67cda5dc8d9b95 (diff) | |
| download | rust-191fac68266b73158ff048c83556ea91cbf977fd.tar.gz rust-191fac68266b73158ff048c83556ea91cbf977fd.zip | |
UPDATE - rename AddSubdiagnostic trait to AddToDiagnostic
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/diagnostics/subdiagnostic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs b/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs index dce5d3cfb84..f1bb7feb062 100644 --- a/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs +++ b/compiler/rustc_macros/src/diagnostics/subdiagnostic.rs @@ -166,7 +166,7 @@ impl<'a> SessionSubdiagnosticDerive<'a> { }; let ret = structure.gen_impl(quote! { - gen impl rustc_errors::AddSubdiagnostic for @Self { + gen impl rustc_errors::AddToDiagnostic for @Self { fn add_to_diagnostic(self, #diag: &mut rustc_errors::Diagnostic) { use rustc_errors::{Applicability, IntoDiagnosticArg}; #implementation |
