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

@ -1,3 +1,6 @@
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
use std::ffi::CString;
use std::fs;
use std::io;