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
|
@ -352,8 +352,7 @@ declare_tool_lint! {
|
|||
declare_tool_lint! {
|
||||
/// The `diagnostic_outside_of_impl` lint detects calls to functions annotated with
|
||||
/// `#[rustc_lint_diagnostics]` that are outside an `Diagnostic`, `Subdiagnostic`, or
|
||||
/// `LintDiagnostic` impl, or a `#[derive(Diagnostic)]`, `#[derive(Subdiagnostic)]`,
|
||||
/// `#[derive(LintDiagnostic)]` expansion.
|
||||
/// `LintDiagnostic` impl (either hand-written or derived).
|
||||
///
|
||||
/// More details on diagnostics implementations can be found
|
||||
/// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue