eliminated #![feature(globs)].

This commit is contained in:
Kang Seonghoon 2014-07-15 12:53:40 +09:00
parent 11b2a10247
commit 39d723fc6f
5 changed files with 9 additions and 6 deletions

View File

@ -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;

View File

@ -177,7 +177,7 @@ impl fmt::Show for DateTimeZ {
#[cfg(test)]
mod tests {
use super::*;
use super::DateTimeZ;
use duration::Duration;
#[test]

View File

@ -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]

View File

@ -5,7 +5,7 @@
#![comment = "Date and time library for Rust"]
#![license = "MIT"]
#![feature(globs, macro_rules)]
#![feature(macro_rules)]
extern crate num;

View File

@ -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 {