diff --git a/src/chrono/date.rs b/src/chrono/date.rs index 54a991e..15aaf32 100644 --- a/src/chrono/date.rs +++ b/src/chrono/date.rs @@ -442,7 +442,8 @@ impl fmt::Show for DateZ { #[cfg(test)] mod tests { - use super::*; + use super::{Datelike, DateZ, MIN_YEAR, MAX_YEAR}; + use super::{Sun, Mon, Tue, Wed, Thu, Fri, Sat}; use duration::Duration; use std::{int, uint}; use std::iter::range_inclusive; @@ -1177,7 +1178,9 @@ mod internals { mod tests { extern crate test; - use super::*; + use super::{Of, Mdf}; + use super::{YearFlags, A, B, C, D, E, F, G, AG, BA, CB, DC, ED, FE, GF}; + use super::{Sun, Mon, Tue, Wed, Thu, Fri, Sat}; use std::iter::range_inclusive; use std::uint; diff --git a/src/chrono/datetime.rs b/src/chrono/datetime.rs index 2f6d1b7..dc17602 100644 --- a/src/chrono/datetime.rs +++ b/src/chrono/datetime.rs @@ -177,7 +177,7 @@ impl fmt::Show for DateTimeZ { #[cfg(test)] mod tests { - use super::*; + use super::DateTimeZ; use duration::Duration; #[test] diff --git a/src/chrono/duration.rs b/src/chrono/duration.rs index ea22639..d4ff78d 100644 --- a/src/chrono/duration.rs +++ b/src/chrono/duration.rs @@ -278,7 +278,7 @@ impl fmt::Show for Duration { #[cfg(test)] mod tests { - use super::*; + use super::{Duration, MIN_DAYS, MAX_DAYS}; use std::int; #[test] diff --git a/src/chrono/lib.rs b/src/chrono/lib.rs index 7d55f2f..a6815b7 100644 --- a/src/chrono/lib.rs +++ b/src/chrono/lib.rs @@ -5,7 +5,7 @@ #![comment = "Date and time library for Rust"] #![license = "MIT"] -#![feature(globs, macro_rules)] +#![feature(macro_rules)] extern crate num; diff --git a/src/chrono/time.rs b/src/chrono/time.rs index b09cdd4..bf17b8e 100644 --- a/src/chrono/time.rs +++ b/src/chrono/time.rs @@ -208,7 +208,7 @@ impl fmt::Show for TimeZ { #[cfg(test)] mod tests { - use super::*; + use super::TimeZ; use duration::Duration; fn hmsm(hour: uint, min: uint, sec: uint, millis: uint) -> TimeZ {