about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-07 15:31:03 -0700
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2017-07-28 15:46:23 +0200
commit51bb31ad2551c0bf82a556792303ec1de5b76dbc (patch)
tree0230874e4c16d0a2154a80faf9f54be166d43680 /src/liballoc
parentcc40f58b8ba7019f52acd4e8da015ddd249db86a (diff)
downloadrust-51bb31ad2551c0bf82a556792303ec1de5b76dbc.tar.gz
rust-51bb31ad2551c0bf82a556792303ec1de5b76dbc.zip
Fix tests
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 1252be447c3..6c852a13867 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -82,6 +82,7 @@
 #![cfg_attr(not(test), feature(core_float))]
 #![cfg_attr(not(test), feature(exact_size_is_empty))]
 #![cfg_attr(not(test), feature(slice_rotate))]
+#![cfg_attr(not(test), feature(generator_trait))]
 #![cfg_attr(test, feature(rand, test))]
 #![feature(allow_internal_unstable)]
 #![feature(box_patterns)]
@@ -97,7 +98,6 @@
 #![feature(fundamental)]
 #![feature(fused)]
 #![feature(generic_param_attrs)]
-#![feature(generator_trait)]
 #![feature(i128_type)]
 #![feature(inclusive_range)]
 #![feature(lang_items)]