Unify syntax (all to @eval_always)
This commit is contained in:
parent
637d5cc56f
commit
8a40884e1c
2 changed files with 4 additions and 4 deletions
|
@ -430,7 +430,7 @@ declare_tool_lint! {
|
|||
Deny,
|
||||
"prevent creation of diagnostics which cannot be translated",
|
||||
report_in_external_macro: true,
|
||||
eval_always: true
|
||||
@eval_always = true
|
||||
}
|
||||
|
||||
declare_tool_lint! {
|
||||
|
@ -444,7 +444,7 @@ declare_tool_lint! {
|
|||
Deny,
|
||||
"prevent diagnostic creation outside of `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls",
|
||||
report_in_external_macro: true,
|
||||
eval_always: true
|
||||
@eval_always = true
|
||||
}
|
||||
|
||||
declare_lint_pass!(Diagnostics => [UNTRANSLATABLE_DIAGNOSTIC, DIAGNOSTIC_OUTSIDE_OF_IMPL]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue