Skip to content

Commit 1f3ae14

Browse files
committed
Lint against untranslatable diagnostics in rustc_codegen_gcc
1 parent 534ce39 commit 1f3ae14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)