Skip to content

Commit 0170348

Browse files
committed
Add lint for diagnostic migration
1 parent 2e35f95 commit 0170348

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

compiler/rustc_passes/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//! This API is completely unstable and subject to change.
66
77
#![allow(rustc::potential_query_instability)]
8+
#![deny(rustc::untranslatable_diagnostic)]
9+
#![deny(rustc::diagnostic_outside_of_impl)]
810
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
911
#![feature(iter_intersperse)]
1012
#![feature(let_chains)]

0 commit comments

Comments
 (0)