Add diagnostic translation lints to crates that don't emit them

This commit is contained in:
5225225 2022-08-18 19:27:29 +01:00
parent bb99e6fdd9
commit 09ea9f0a87
25 changed files with 52 additions and 0 deletions

View file

@ -4,6 +4,8 @@
#![feature(proc_macro_diagnostic)]
#![feature(proc_macro_span)]
#![allow(rustc::default_hash_types)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
#![recursion_limit = "128"]
use synstructure::decl_derive;