diff options
| author | bors <bors@rust-lang.org> | 2024-09-03 01:27:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-03 01:27:20 +0000 |
| commit | 6199b69c53a8c275ca3cd59647ea0af5ca29aae2 (patch) | |
| tree | 75ddc29eb734ea11a6652ce3f688a3037095bba3 /compiler/rustc_serialize | |
| parent | 2251572086f12186b5a499bf55dee82145173ed3 (diff) | |
| parent | 88b6a78d0b8b7661db8bea0d0743652bcb9a4600 (diff) | |
| download | rust-6199b69c53a8c275ca3cd59647ea0af5ca29aae2.tar.gz rust-6199b69c53a8c275ca3cd59647ea0af5ca29aae2.zip | |
Auto merge of #129777 - nnethercote:unreachable_pub-4, r=Urgau
Add `unreachable_pub`, round 4 A follow-up to #129732. r? `@Urgau`
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}; |
