Skip to content

Commit 73a8d42

Browse files
committed
privacy: deny diagnostic migration lints
Signed-off-by: David Wood <[email protected]>
1 parent faa68ae commit 73a8d42

File tree

1 file changed

+4
-1
lines changed
  • compiler/rustc_privacy/src

1 file changed

+4
-1
lines changed

compiler/rustc_privacy/src/lib.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
2+
#![feature(associated_type_defaults)]
23
#![feature(control_flow_enum)]
4+
#![feature(rustc_private)]
35
#![feature(try_blocks)]
4-
#![feature(associated_type_defaults)]
56
#![recursion_limit = "256"]
67
#![allow(rustc::potential_query_instability)]
8+
#![cfg_attr(not(bootstrap), deny(rustc::untranslatable_diagnostic))]
9+
#![cfg_attr(not(bootstrap), deny(rustc::diagnostic_outside_of_impl))]
710

811
mod errors;
912

0 commit comments

Comments
 (0)