Remove redundant argument from subdiagnostic
method
This commit is contained in:
parent
7ba82d61eb
commit
3f34196839
38 changed files with 361 additions and 542 deletions
|
@ -335,7 +335,7 @@ impl DiagnosticDeriveVariantBuilder {
|
|||
}
|
||||
}
|
||||
(Meta::Path(_), "subdiagnostic") => {
|
||||
return Ok(quote! { diag.subdiagnostic(diag.dcx, #binding); });
|
||||
return Ok(quote! { diag.subdiagnostic(#binding); });
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue