1
Fork 0

Unify syntax (all to @eval_always)

This commit is contained in:
blyxyas 2024-10-11 00:31:17 +02:00
parent 637d5cc56f
commit 8a40884e1c
2 changed files with 4 additions and 4 deletions

View file

@ -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]);