Skip to content

Commit ad96c2e

Browse files
committed
XXX: no effect
1 parent a330e49 commit ad96c2e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

compiler/rustc_abi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#![cfg_attr(feature = "nightly", allow(internal_features))]
33
#![cfg_attr(feature = "nightly", doc(rust_logo))]
44
#![cfg_attr(feature = "nightly", feature(rustdoc_internals))]
5+
#![deny(unreachable_pub)]
56

67
use std::fmt;
78
use std::num::{NonZeroUsize, ParseIntError};

compiler/rustc_ast/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
)]
1111
#![doc(rust_logo)]
1212
#![allow(internal_features)]
13+
#![deny(unreachable_pub)]
1314
#![feature(rustdoc_internals)]
1415
#![feature(associated_type_defaults)]
1516
#![feature(box_patterns)]

compiler/rustc_ast_ir/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![cfg_attr(feature = "nightly", feature(never_type))]
22
#![cfg_attr(feature = "nightly", feature(rustc_attrs))]
33
#![cfg_attr(feature = "nightly", allow(internal_features))]
4+
#![deny(unreachable_pub)]
45

56
#[cfg(feature = "nightly")]
67
use rustc_macros::{Decodable, Encodable, HashStable_NoContext};

0 commit comments

Comments
 (0)