Skip to content

Commit 4a22274

Browse files
authored
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?
2 parents e450f70 + 211f2de commit 4a22274

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@
273273
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
274274
test(attr(allow(unused_variables), deny(warnings)))
275275
)]
276+
#![deny(rustc::untranslatable_diagnostic)]
277+
#![deny(rustc::diagnostic_outside_of_impl)]
276278

277279
use LabelText::*;
278280

0 commit comments

Comments
 (0)