UPDATE - rename AddSubdiagnostic trait to AddToDiagnostic
This commit is contained in:
parent
19b348fed4
commit
191fac6826
11 changed files with 23 additions and 23 deletions
|
@ -372,7 +372,7 @@ declare_tool_lint! {
|
|||
declare_tool_lint! {
|
||||
pub rustc::DIAGNOSTIC_OUTSIDE_OF_IMPL,
|
||||
Allow,
|
||||
"prevent creation of diagnostics outside of `DiagnosticHandler`/`AddSubdiagnostic` impls",
|
||||
"prevent creation of diagnostics outside of `DiagnosticHandler`/`AddToDiagnostic` impls",
|
||||
report_in_external_macro: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue