Add diagnostic translation lints to crates that don't emit them
This commit is contained in:
parent
bb99e6fdd9
commit
09ea9f0a87
25 changed files with 52 additions and 0 deletions
|
@ -18,6 +18,8 @@ Core encoding and decoding interfaces.
|
|||
#![feature(new_uninit)]
|
||||
#![cfg_attr(test, feature(test))]
|
||||
#![allow(rustc::internal)]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue