mod items need to be marked with cfg(test) not test.

This commit is contained in:
Felix S. Klock II 2013-04-30 13:02:29 +02:00
parent 5f1a90ebe7
commit c14aa7eba8

View File

@ -833,7 +833,7 @@ pub impl <T:Hash + Eq> HashSet<T> {
}
}
#[test]
#[cfg(test)]
mod test_map {
use container::{Container, Map, Set};
use option::{None, Some};
@ -1009,7 +1009,7 @@ mod test_map {
}
}
#[test]
#[cfg(test)]
mod test_set {
use super::*;
use container::{Container, Map, Set};