eliminated #![feature(globs)].
This commit is contained in:
parent
11b2a10247
commit
39d723fc6f
|
@ -442,7 +442,8 @@ impl fmt::Show for DateZ {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
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 duration::Duration;
|
||||||
use std::{int, uint};
|
use std::{int, uint};
|
||||||
use std::iter::range_inclusive;
|
use std::iter::range_inclusive;
|
||||||
|
@ -1177,7 +1178,9 @@ mod internals {
|
||||||
mod tests {
|
mod tests {
|
||||||
extern crate test;
|
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::iter::range_inclusive;
|
||||||
use std::uint;
|
use std::uint;
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@ impl fmt::Show for DateTimeZ {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::DateTimeZ;
|
||||||
use duration::Duration;
|
use duration::Duration;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -278,7 +278,7 @@ impl fmt::Show for Duration {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::{Duration, MIN_DAYS, MAX_DAYS};
|
||||||
use std::int;
|
use std::int;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#![comment = "Date and time library for Rust"]
|
#![comment = "Date and time library for Rust"]
|
||||||
#![license = "MIT"]
|
#![license = "MIT"]
|
||||||
|
|
||||||
#![feature(globs, macro_rules)]
|
#![feature(macro_rules)]
|
||||||
|
|
||||||
extern crate num;
|
extern crate num;
|
||||||
|
|
||||||
|
|
|
@ -208,7 +208,7 @@ impl fmt::Show for TimeZ {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::TimeZ;
|
||||||
use duration::Duration;
|
use duration::Duration;
|
||||||
|
|
||||||
fn hmsm(hour: uint, min: uint, sec: uint, millis: uint) -> TimeZ {
|
fn hmsm(hour: uint, min: uint, sec: uint, millis: uint) -> TimeZ {
|
||||||
|
|
Loading…
Reference in New Issue