about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2019-11-25 15:29:57 -0600
committerMark Mansi <markm@cs.wisc.edu>2019-12-18 20:19:05 -0600
commit3ec3fca414f62cb3172b9324fe7aaa516c71b4e9 (patch)
treec5d84ca17b53165ee25260e3917585f13cf94786 /src/liballoc/lib.rs
parent17aa0cb2ca73ad789e718bf9162a740af02a829f (diff)
downloadrust-3ec3fca414f62cb3172b9324fe7aaa516c71b4e9.tar.gz
rust-3ec3fca414f62cb3172b9324fe7aaa516c71b4e9.zip
remove a bit more hackery
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0137275bc15..6e44c7631b3 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -85,6 +85,7 @@
 #![feature(const_generic_impls_guard)]
 #![feature(const_generics)]
 #![feature(const_in_array_repeat_expressions)]
+#![cfg_attr(not(bootstrap), feature(const_if_match))]
 #![feature(cow_is_borrowed)]
 #![feature(dispatch_from_dyn)]
 #![feature(core_intrinsics)]