about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-20 07:09:03 +0200
committerGitHub <noreply@github.com>2022-08-20 07:09:03 +0200
commit84f81e7974da97b293a99087769fe6e9f28fa2c4 (patch)
tree5d1848873506d3c5eae9154f1f33a297c1f33735 /compiler/rustc_query_impl/src
parent67f77f5a55d0daf3193cc87c6a2c8863ca229169 (diff)
parent09ea9f0a87be489250bdb8d9171c7deb20fd04b1 (diff)
downloadrust-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/src')
-rw-r--r--compiler/rustc_query_impl/src/lib.rs2
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;