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_errors/src/diagnostic_builder.rs | |
| parent | 19b348fed44342d8addbbb5e8f67cda5dc8d9b95 (diff) | |
| download | rust-191fac68266b73158ff048c83556ea91cbf977fd.tar.gz rust-191fac68266b73158ff048c83556ea91cbf977fd.zip | |
UPDATE - rename AddSubdiagnostic trait to AddToDiagnostic
Diffstat (limited to 'compiler/rustc_errors/src/diagnostic_builder.rs')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic_builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs index b646dd662cb..209a50fd306 100644 --- a/compiler/rustc_errors/src/diagnostic_builder.rs +++ b/compiler/rustc_errors/src/diagnostic_builder.rs @@ -580,7 +580,7 @@ impl<'a, G: EmissionGuarantee> DiagnosticBuilder<'a, G> { forward!(pub fn subdiagnostic( &mut self, - subdiagnostic: impl crate::AddSubdiagnostic + subdiagnostic: impl crate::AddToDiagnostic ) -> &mut Self); } |
