Lint against untranslatable diagnostics in rustc_codegen_gcc

This commit is contained in:
Ellis Hoag 2022-08-27 15:21:46 -07:00 committed by Antoni Boucher
parent 1b5dd4bf5e
commit b4a051e3b3

View File

@ -18,6 +18,8 @@
#![recursion_limit="256"]
#![warn(rust_2018_idioms)]
#![warn(unused_lifetimes)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]
extern crate rustc_apfloat;
extern crate rustc_ast;