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
|
@ -9,6 +9,8 @@
|
|||
html_playground_url = "https://play.rust-lang.org/",
|
||||
test(attr(deny(warnings)))
|
||||
)]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
// We want to be able to build this crate with a stable compiler, so no
|
||||
// `#![feature]` attributes should be added.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue