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 @@
|
|||
//! lexeme types.
|
||||
//!
|
||||
//! [`rustc_parse::lexer`]: ../rustc_parse/lexer/index.html
|
||||
#![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