about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-26 18:45:34 +0200
committerGitHub <noreply@github.com>2024-10-26 18:45:34 +0200
commit5dd60103fa1f20a91c2a9ae839ae6b2f9083384c (patch)
treecefa07c37009ad367d7dbf5bde491c1efff754d3 /compiler/rustc_pattern_analysis/src
parent1f6cb859ee79b3f32eca5c87af87e9bc0aa4daa3 (diff)
parent5f4739157abe8ac9ba3bbc652f6d7893d2a4d4c9 (diff)
downloadrust-5dd60103fa1f20a91c2a9ae839ae6b2f9083384c.tar.gz
rust-5dd60103fa1f20a91c2a9ae839ae6b2f9083384c.zip
Rollup merge of #132182 - jieyouxu:downgrade-untranslatable, r=compiler-errors
Downgrade `untranslatable_diagnostic` and `diagnostic_outside_of_impl` to `allow`

Current implementation of translatable diagnostics infrastructure unfortunately causes some friction for compiler contributors. While we don't have a redesign that causes less friction in place, let's downgrade the internal `untranslatable_diagnostic` and `diagnostic_outside_of_impl` lints so we don't indicate to contributors that they *have* to use the current translation infra.

I purposefully left `#[allow(untranslatable_diagnostic)]` and `#[allow(diagnostic_outside_of_impl)]` instances untouched because that seems like unnecessary additional churn.

See <https://github.com/rust-lang/rust/issues/132181> for context.

r? `@davidtwco` (or wg-diagnostics/compiler)
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions