diff options
| author | bors <bors@rust-lang.org> | 2024-10-26 19:00:57 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-26 19:00:57 +0000 | 
| commit | 9b18a122f769859dc00d7b2c73b03dc6a1152983 (patch) | |
| tree | 951492ccfdfa83638d720be85f83cfa359f58cfb /compiler/rustc_lint/src/internal.rs | |
| parent | 4d88de2acd2cf8595c61e5c8d39183e5579204d8 (diff) | |
| parent | 5dd60103fa1f20a91c2a9ae839ae6b2f9083384c (diff) | |
| download | rust-9b18a122f769859dc00d7b2c73b03dc6a1152983.tar.gz rust-9b18a122f769859dc00d7b2c73b03dc6a1152983.zip | |
Auto merge of #132190 - matthiaskrgr:rollup-rsocfiz, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #131875 (Add WASM | WASI | Emscripten groups to triagebot.toml) - #132019 (Document `PartialEq` impl for `OnceLock`) - #132182 (Downgrade `untranslatable_diagnostic` and `diagnostic_outside_of_impl` to `allow`) r? `@ghost` `@rustbot` modify labels: rollup
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 7dec6dbdc05..2f338f42f19 100644 --- a/compiler/rustc_lint/src/internal.rs +++ b/compiler/rustc_lint/src/internal.rs @@ -427,7 +427,7 @@ declare_tool_lint! { /// More details on translatable diagnostics can be found /// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/translation.html). pub rustc::UNTRANSLATABLE_DIAGNOSTIC, - Deny, + Allow, "prevent creation of diagnostics which cannot be translated", report_in_external_macro: true, @eval_always = true @@ -441,7 +441,7 @@ declare_tool_lint! { /// More details on diagnostics implementations can be found /// [here](https://rustc-dev-guide.rust-lang.org/diagnostics/diagnostic-structs.html). pub rustc::DIAGNOSTIC_OUTSIDE_OF_IMPL, - Deny, + Allow, "prevent diagnostic creation outside of `Diagnostic`/`Subdiagnostic`/`LintDiagnostic` impls", report_in_external_macro: true, @eval_always = true | 
