Skip to content

Commit

Permalink
Auto merge of #116468 - nnethercote:rustc_serialize, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Streamline `rustc_serialize`

r? `@Mark-Simulacrum`
  • Loading branch information
bors committed Oct 9, 2023
2 parents bf9a1c8 + ad8271d commit 37fda98
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 318 deletions.
279 changes: 0 additions & 279 deletions compiler/rustc_serialize/src/collection_impls.rs

This file was deleted.

17 changes: 5 additions & 12 deletions compiler/rustc_serialize/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
//! Support code for encoding and decoding types.
/*
Core encoding and decoding interfaces.
*/

#![doc(
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
html_playground_url = "https://play.rust-lang.org/",
test(attr(allow(unused_variables), deny(warnings)))
)]
#![feature(never_type)]
#![feature(allocator_api)]
#![feature(associated_type_bounds)]
#![feature(min_specialization)]
#![feature(const_option)]
#![feature(core_intrinsics)]
#![feature(maybe_uninit_slice)]
#![feature(new_uninit)]
#![feature(allocator_api)]
#![feature(inline_const)]
#![feature(min_specialization)]
#![feature(never_type)]
#![feature(ptr_sub_ptr)]
#![feature(slice_first_last_chunk)]
#![feature(inline_const)]
#![feature(const_option)]
#![cfg_attr(test, feature(test))]
#![allow(rustc::internal)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

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

mod collection_impls;
mod serialize;

pub mod leb128;
Expand Down
Loading

0 comments on commit 37fda98

Please sign in to comment.