Skip to content

Commit 21a37da

Browse files
committedSep 2, 2024
Add warn(unreachable_pub) to rustc_serialize.
1 parent 19843bb commit 21a37da

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_serialize/src

1 file changed

+1
-0
lines changed
 

‎compiler/rustc_serialize/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#![feature(never_type)]
1717
#![feature(ptr_sub_ptr)]
1818
#![feature(rustdoc_internals)]
19+
#![warn(unreachable_pub)]
1920
// tidy-alphabetical-end
2021

2122
pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};

0 commit comments

Comments
 (0)