Fix implicit leaks of imports throughout libraries

Also touch up use of 'pub' and move some tests around so the tested functions
don't have to be 'pub'
This commit is contained in:
Alex Crichton
2013-02-25 14:11:21 -05:00
parent f2837fa3f5
commit 2df07ddc25
70 changed files with 499 additions and 299 deletions

View File

@@ -2299,11 +2299,14 @@ pub fn print_onceness(s: @ps, o: ast::Onceness) {
#[cfg(test)]
pub mod test {
use super::*;
use ast;
use ast_util;
use codemap;
use core::cmp::Eq;
use core::option::None;
use parse;
use super::*;
//use util;
use util::testing::check_equal;
fn string_check<T:Eq> (given : &T, expected: &T) {