UPDATE - rename AddSubdiagnostic trait to AddToDiagnostic
This commit is contained in:
parent
19b348fed4
commit
191fac6826
11 changed files with 23 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue