diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-20 07:09:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-20 07:09:03 +0200 |
| commit | 84f81e7974da97b293a99087769fe6e9f28fa2c4 (patch) | |
| tree | 5d1848873506d3c5eae9154f1f33a297c1f33735 /compiler/rustc_parse_format/src/lib.rs | |
| parent | 67f77f5a55d0daf3193cc87c6a2c8863ca229169 (diff) | |
| parent | 09ea9f0a87be489250bdb8d9171c7deb20fd04b1 (diff) | |
| download | rust-84f81e7974da97b293a99087769fe6e9f28fa2c4.tar.gz rust-84f81e7974da97b293a99087769fe6e9f28fa2c4.zip | |
Rollup merge of #100723 - 5225225:the-easy-ones, r=compiler-errors
Add the diagnostic translation lints to crates that don't emit them Some of these have a note saying that they should build on a stable compiler, does that mean they shouldn't get these lints? Or can we cfg them out on those?
Diffstat (limited to 'compiler/rustc_parse_format/src/lib.rs')
| -rw-r--r-- | compiler/rustc_parse_format/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs index 4890fade50f..e4842d2afb7 100644 --- a/compiler/rustc_parse_format/src/lib.rs +++ b/compiler/rustc_parse_format/src/lib.rs @@ -9,6 +9,8 @@ html_playground_url = "https://play.rust-lang.org/", test(attr(deny(warnings))) )] +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] // We want to be able to build this crate with a stable compiler, so no // `#![feature]` attributes should be added. |
