Skip to content

Commit 40c5184

Browse files
committed
Add internal diagnistics lints
1 parent 83a724e commit 40c5184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_attr/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//! to this crate.
66
77
#![feature(let_else)]
8+
#![deny(rustc::untranslatable_diagnostic)]
9+
#![deny(rustc::diagnostic_outside_of_impl)]
810

911
#[macro_use]
1012
extern crate rustc_macros;

0 commit comments

Comments
 (0)