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
|
@ -11,6 +11,8 @@
|
|||
test(attr(allow(unused_variables), deny(warnings)))
|
||||
)]
|
||||
#![cfg_attr(not(feature = "default"), feature(rustc_private))]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
pub mod mir;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue