Skip to content

Commit 007cea3

Browse files
committed
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 be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.
1 parent fe7be54 commit 007cea3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib.rs

Lines changed: 0 additions & 2 deletions
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)