Skip to content

Commit 1ce482a

Browse files
committed
Lint against untranslatable diagnostics in rustc_codegen_gcc
1 parent 5e0c53a commit 1ce482a

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_codegen_gcc/src

1 file changed

+2
-0
lines changed

compiler/rustc_codegen_gcc/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#![recursion_limit="256"]
1919
#![warn(rust_2018_idioms)]
2020
#![warn(unused_lifetimes)]
21+
#![deny(rustc::untranslatable_diagnostic)]
22+
#![deny(rustc::diagnostic_outside_of_impl)]
2123

2224
extern crate rustc_apfloat;
2325
extern crate rustc_ast;

0 commit comments

Comments
 (0)