eliminated #![feature(globs)].
This commit is contained in:
parent
11b2a10247
commit
39d723fc6f
|
@ -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;
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@ impl fmt::Show for DateTimeZ {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use super::DateTimeZ;
|
||||
use duration::Duration;
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#![comment = "Date and time library for Rust"]
|
||||
#![license = "MIT"]
|
||||
|
||||
#![feature(globs, macro_rules)]
|
||||
#![feature(macro_rules)]
|
||||
|
||||
extern crate num;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue