Skip to content

Commit

Permalink
rustc_serialize: Remove unneeded feature decls.
Browse files Browse the repository at this point in the history
I.e. `maybe_uninit_slice` and `new_uninit`.

Also sort the remaining features and remove an ugly, low-value comment.
  • Loading branch information
nnethercote committed Oct 5, 2023
1 parent cae0791 commit 3ee6747
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions compiler/rustc_serialize/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
//! 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)]
Expand Down

0 comments on commit 3ee6747

Please sign in to comment.