about summary refs log tree commit diff
path: root/library/core/tests/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/lib.rs')
-rw-r--r--library/core/tests/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
index 507a79c3de1..e1ba5020a50 100644
--- a/library/core/tests/lib.rs
+++ b/library/core/tests/lib.rs
@@ -74,6 +74,8 @@
 #![feature(trusted_random_access)]
 #![feature(unsize)]
 #![feature(unzip_option)]
+#![feature(const_array_from_ref)]
+#![feature(const_slice_from_ref)]
 #![deny(unsafe_op_in_unsafe_fn)]
 
 extern crate test;