about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorStepan Koltsov <stepan.koltsov@gmail.com>2015-01-20 23:57:56 +0300
committerStepan Koltsov <stepan.koltsov@gmail.com>2015-01-20 23:57:56 +0300
commitace2f09d3f89e20a7caa67bb0548212b07f696c2 (patch)
treeedc6911e50aff1b31c9fb2c0828835b82d816685 /src/liballoc/lib.rs
parenta0f86de49748b472d4d189d9688b0d856c000914 (diff)
downloadrust-ace2f09d3f89e20a7caa67bb0548212b07f696c2.tar.gz
rust-ace2f09d3f89e20a7caa67bb0548212b07f696c2.zip
alloc::boxed: enable test
Previously test was disabled due to `#[cfg(test)]` before `mod boxed`.
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 811e32e747d..be45429aa1a 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -91,6 +91,8 @@ pub mod heap;
 
 #[cfg(not(test))]
 pub mod boxed;
+#[cfg(test)]
+mod boxed_test;
 pub mod arc;
 pub mod rc;