diff options
| author | blyxyas <blyxyas@gmail.com> | 2024-10-11 00:31:17 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2024-10-19 16:20:52 +0200 |
| commit | 8a40884e1c606ac92326ed5ea444eb78d06da975 (patch) | |
| tree | dc452d9f9d09cd1db39473fca43de332231163ac /compiler/rustc_lint/src/internal.rs | |
| parent | 637d5cc56fcc11afadd4ffaefa237c11f47cdfee (diff) | |
| download | rust-8a40884e1c606ac92326ed5ea444eb78d06da975.tar.gz rust-8a40884e1c606ac92326ed5ea444eb78d06da975.zip | |
Unify syntax (all to @eval_always)
Diffstat (limited to 'compiler/rustc_lint/src/internal.rs')
| -rw-r--r-- | compiler/rustc_lint/src/internal.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_lint/src/internal.rs b/compiler/rustc_lint/src/internal.rs index 11e9e933dd9..7dec6dbdc05 100644 --- a/compiler/rustc_lint/src/internal.rs +++ b/compiler/rustc_lint/src/internal.rs @@ -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]); |
