summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2021-01-01 19:37:58 +0100
committerBastian Kauschke <bastian_kauschke@hotmail.de>2021-01-01 19:57:10 +0100
commit6cf47ff4f0ed0395343c97dddbd278281189f446 (patch)
treea55469a17f1b955ed2d5aa76c94fd98cf81cfbcf /library/alloc/src/lib.rs
parenta609fb45efad59dfd459c76e50899be9f0583b5a (diff)
downloadrust-6cf47ff4f0ed0395343c97dddbd278281189f446.tar.gz
rust-6cf47ff4f0ed0395343c97dddbd278281189f446.zip
remove incomplete features from std
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index e6db66ac571..cfad111aa54 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -70,7 +70,6 @@
 #![warn(missing_docs)]
 #![warn(missing_debug_implementations)]
 #![allow(explicit_outlives_requirements)]
-#![allow(incomplete_features)]
 #![deny(unsafe_op_in_unsafe_fn)]
 #![feature(rustc_allow_const_fn_unstable)]
 #![cfg_attr(not(test), feature(generator_trait))]
@@ -90,7 +89,6 @@
 #![feature(coerce_unsized)]
 #![feature(const_btree_new)]
 #![feature(const_fn)]
-#![feature(const_generics)]
 #![feature(const_in_array_repeat_expressions)]
 #![feature(cow_is_borrowed)]
 #![feature(const_cow_is_borrowed)]
@@ -120,6 +118,7 @@
 #![feature(raw_ref_op)]
 #![feature(rustc_attrs)]
 #![feature(receiver_trait)]
+#![cfg_attr(bootstrap, feature(min_const_generics))]
 #![feature(min_specialization)]
 #![feature(slice_ptr_get)]
 #![feature(slice_ptr_len)]