about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlexis <a.beingessner@gmail.com>2015-02-19 12:57:25 -0500
committerAlexis <a.beingessner@gmail.com>2015-02-20 19:55:00 -0500
commit97aa34046ffec7be1e3e4f383f205344ed67da6d (patch)
treef61920dd16a5230660e02e053afe91513f118ee8 /src/liballoc
parent522d09dfecbeca1595f25ac58c6d0178bbd21d7d (diff)
downloadrust-97aa34046ffec7be1e3e4f383f205344ed67da6d.tar.gz
rust-97aa34046ffec7be1e3e4f383f205344ed67da6d.zip
try to reduce bajillion warnings
Diffstat (limited to 'src/liballoc')
-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 bc349ebebde..0cdc71b6f60 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -73,6 +73,7 @@
 #![feature(unboxed_closures)]
 #![feature(unsafe_no_drop_flag)]
 #![feature(core)]
+#![cfg_attr(test, feature(test, alloc, rustc_private))]
 #![cfg_attr(all(not(feature = "external_funcs"), not(feature = "external_crate")),
             feature(libc))]