Skip to content

Commit 5a12a89

Browse files
authored
Rollup merge of rust-lang#120693 - nnethercote:invert-diagnostic-lints, r=davidtwco
Invert diagnostic lints. That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has been converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted. r? ````@davidtwco````
2 parents 1f5316a + 007cea3 commit 5a12a89

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
#![recursion_limit="256"]
2828
#![warn(rust_2018_idioms)]
2929
#![warn(unused_lifetimes)]
30-
#![deny(rustc::untranslatable_diagnostic)]
31-
#![deny(rustc::diagnostic_outside_of_impl)]
3230

3331
extern crate rustc_apfloat;
3432
extern crate rustc_ast;

0 commit comments

Comments
 (0)