Rename diagnostic derive things.
For increased consistency. - session_diagnostic_derive -> diagnostic_derive - session_subdiagnostic_derive -> subdiagnostic_derive - SubdiagnosticDeriveBuilder -> SubdiagnosticDerive
This commit is contained in:
parent
e9f0d9be0e
commit
43c06335cf
4 changed files with 10 additions and 11 deletions
|
@ -118,7 +118,7 @@ decl_derive!(
|
|||
suggestion,
|
||||
suggestion_short,
|
||||
suggestion_hidden,
|
||||
suggestion_verbose)] => diagnostics::session_diagnostic_derive
|
||||
suggestion_verbose)] => diagnostics::diagnostic_derive
|
||||
);
|
||||
decl_derive!(
|
||||
[LintDiagnostic, attributes(
|
||||
|
@ -156,5 +156,5 @@ decl_derive!(
|
|||
skip_arg,
|
||||
primary_span,
|
||||
suggestion_part,
|
||||
applicability)] => diagnostics::session_subdiagnostic_derive
|
||||
applicability)] => diagnostics::subdiagnostic_derive
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue