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_query_impl | |
| 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_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index eda61df7700..df187ea0c94 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -7,6 +7,8 @@ #![feature(rustc_attrs)] #![recursion_limit = "256"] #![allow(rustc::potential_query_instability)] +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] #[macro_use] extern crate rustc_macros; |
