Add diagnostic translation lints to crates that don't emit them

This commit is contained in:
5225225 2022-08-18 19:27:29 +01:00
parent bb99e6fdd9
commit 09ea9f0a87
25 changed files with 52 additions and 0 deletions

View file

@ -273,6 +273,8 @@
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
test(attr(allow(unused_variables), deny(warnings)))
)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
use LabelText::*;