From 803441324791d7fc7af484ef417f646c35b0646c Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 9 Mar 2014 22:01:51 -0700 Subject: [PATCH] De-globbing --- src/lib.rs | 2 +- src/types/array.rs | 2 +- src/types/range.rs | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7c38dcb3..6ce30f53 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -63,7 +63,7 @@ fn main() { #[warn(missing_doc)]; -#[feature(macro_rules, struct_variant, globs, phase)]; +#[feature(macro_rules, struct_variant, phase)]; extern crate collections; extern crate extra; diff --git a/src/types/array.rs b/src/types/array.rs index 51fbd2ea..e3b5f803 100644 --- a/src/types/array.rs +++ b/src/types/array.rs @@ -248,7 +248,7 @@ impl<'parent, T> MutableArray for MutArraySlice<'parent, T> {} #[cfg(test)] mod tests { - use super::*; + use super::{DimensionInfo, ArrayBase, Array, MutableArray}; #[test] fn test_from_vec() { diff --git a/src/types/range.rs b/src/types/range.rs index da634b2b..d7e24e17 100644 --- a/src/types/range.rs +++ b/src/types/range.rs @@ -384,7 +384,14 @@ impl Range { mod test { use std::i32; - use super::*; + use super::{RangeBound, + Range, + Inclusive, + Exclusive, + UpperBound, + LowerBound, + Normalizable, + BoundType}; #[test] fn test_range_bound_lower_lt() {