about summary refs log tree commit diff
path: root/src/libcollections/lib.rs
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-03-10 23:58:16 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-03-16 21:57:42 -0500
commit6453fcd4ccaa84cf8a21b5991bae23a5923df98b (patch)
tree65fadd39302af66a1fff6508e9a20b822927624a /src/libcollections/lib.rs
parent3ff84fc5fdd9509fc3ee4595fd76aa31d4815b2a (diff)
downloadrust-6453fcd4ccaa84cf8a21b5991bae23a5923df98b.tar.gz
rust-6453fcd4ccaa84cf8a21b5991bae23a5923df98b.zip
extract libcollections tests into libcollectionstest
Diffstat (limited to 'src/libcollections/lib.rs')
-rw-r--r--src/libcollections/lib.rs43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs
index 3a2fc17e1e9..0d53215a596 100644
--- a/src/libcollections/lib.rs
+++ b/src/libcollections/lib.rs
@@ -47,10 +47,6 @@ extern crate core;
 extern crate unicode;
 extern crate alloc;
 
-#[cfg(test)] extern crate test;
-#[cfg(test)] #[macro_use] extern crate std;
-#[cfg(test)] #[macro_use] extern crate log;
-
 pub use binary_heap::BinaryHeap;
 pub use bit_vec::BitVec;
 pub use bit_set::BitSet;
@@ -85,8 +81,6 @@ pub use alloc::boxed;
 #[macro_use]
 mod macros;
 
-#[cfg(test)] #[macro_use] mod bench;
-
 pub mod binary_heap;
 mod bit;
 mod btree;
@@ -137,47 +131,10 @@ pub mod btree_set {
 #[doc(hidden)]
 pub fn fixme_14344_be_sure_to_link_to_collections() {}
 
-#[cfg(not(test))]
 mod std {
     pub use core::ops;      // RangeFull
 }
 
-#[cfg(test)]
-mod prelude {
-    // from core.
-    pub use core::clone::Clone;
-    pub use core::cmp::{PartialEq, Eq, PartialOrd, Ord};
-    pub use core::cmp::Ordering::{Less, Equal, Greater};
-    pub use core::iter::range;
-    pub use core::iter::{FromIterator, Extend, IteratorExt};
-    pub use core::iter::{Iterator, DoubleEndedIterator, RandomAccessIterator};
-    pub use core::iter::{ExactSizeIterator};
-    pub use core::marker::{Copy, Send, Sized, Sync};
-    pub use core::mem::drop;
-    pub use core::ops::{Drop, Fn, FnMut, FnOnce};
-    pub use core::option::Option;
-    pub use core::option::Option::{Some, None};
-    pub use core::ptr::PtrExt;
-    pub use core::result::Result;
-    pub use core::result::Result::{Ok, Err};
-
-    // in core and collections (may differ).
-    pub use slice::{AsSlice, SliceExt};
-    #[cfg(stage0)]
-    pub use str::{Str, StrExt};
-    #[cfg(not(stage0))]
-    pub use str::Str;
-
-    // from other crates.
-    pub use alloc::boxed::Box;
-
-    // from collections.
-    pub use borrow::IntoCow;
-    pub use slice::SliceConcatExt;
-    pub use string::{String, ToString};
-    pub use vec::Vec;
-}
-
 /// An endpoint of a range of keys.
 #[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
 pub enum Bound<T> {