about summary refs log tree commit diff
path: root/library/core/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/lib.rs')
-rw-r--r--library/core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 78d01c268f5..8aa355a554d 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -167,7 +167,7 @@
 #![feature(const_precise_live_drops)]
 #![feature(const_refs_to_cell)]
 #![feature(decl_macro)]
-#![feature(derive_default_enum)]
+#![cfg_attr(bootstrap, feature(derive_default_enum))]
 #![feature(deprecated_suggestion)]
 #![feature(doc_cfg)]
 #![feature(doc_notable_trait)]