Add warn(unreachable_pub) to rustc_serialize.

This commit is contained in:
Nicholas Nethercote 2024-08-30 10:45:32 +10:00
parent 19843bba64
commit 21a37da268

View File

@ -16,6 +16,7 @@
#![feature(never_type)] #![feature(never_type)]
#![feature(ptr_sub_ptr)] #![feature(ptr_sub_ptr)]
#![feature(rustdoc_internals)] #![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end // tidy-alphabetical-end
pub use self::serialize::{Decodable, Decoder, Encodable, Encoder}; pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};