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
|
@ -38,6 +38,9 @@
|
|||
//! debugging, you can make changes inside those crates and quickly run main.rs
|
||||
//! to read the debug logs.
|
||||
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
use std::env::{self, VarError};
|
||||
use std::fmt::{self, Display};
|
||||
use std::io;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue