about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-05 20:54:54 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-06 09:13:54 +1100
commit3ee67475b29b8baa288043f2153365efca5f56e9 (patch)
tree0c2d7758adf5e9bc148e7fef2b8d4c311c2fb2eb /compiler/rustc_serialize/src/lib.rs
parentcae0791da47bb01f16885eb233dcd66b0093a6e1 (diff)
downloadrust-3ee67475b29b8baa288043f2153365efca5f56e9.tar.gz
rust-3ee67475b29b8baa288043f2153365efca5f56e9.zip
rustc_serialize: Remove unneeded feature decls.
I.e. `maybe_uninit_slice` and `new_uninit`.

Also sort the remaining features and remove an ugly, low-value comment.
Diffstat (limited to 'compiler/rustc_serialize/src/lib.rs')
-rw-r--r--compiler/rustc_serialize/src/lib.rs16
1 files changed, 5 insertions, 11 deletions
diff --git a/compiler/rustc_serialize/src/lib.rs b/compiler/rustc_serialize/src/lib.rs
index dd40b3cf028..bd306eed85a 100644
--- a/compiler/rustc_serialize/src/lib.rs
+++ b/compiler/rustc_serialize/src/lib.rs
@@ -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)]