diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-08-30 10:45:32 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-03 08:49:54 +1000 |
| commit | 21a37da26840ae34a02246ea9141b28efd6e8ce5 (patch) | |
| tree | 53ea4c5db98d653df8dfc0487a10eb9e5a60cef3 /compiler/rustc_serialize | |
| parent | 19843bba64adda8194aa983fd7d1397517f5efe6 (diff) | |
| download | rust-21a37da26840ae34a02246ea9141b28efd6e8ce5.tar.gz rust-21a37da26840ae34a02246ea9141b28efd6e8ce5.zip | |
Add `warn(unreachable_pub)` to `rustc_serialize`.
Diffstat (limited to 'compiler/rustc_serialize')
| -rw-r--r-- | compiler/rustc_serialize/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_serialize/src/lib.rs b/compiler/rustc_serialize/src/lib.rs index f0e1630c650..b7977a848ce 100644 --- a/compiler/rustc_serialize/src/lib.rs +++ b/compiler/rustc_serialize/src/lib.rs @@ -16,6 +16,7 @@ #![feature(never_type)] #![feature(ptr_sub_ptr)] #![feature(rustdoc_internals)] +#![warn(unreachable_pub)] // tidy-alphabetical-end pub use self::serialize::{Decodable, Decoder, Encodable, Encoder}; |
