Cleanup unused imports
This commit is contained in:
parent
9bc2f1800d
commit
5a7249c935
61 changed files with 104 additions and 204 deletions
|
|
@ -1,16 +1,12 @@
|
|||
import std::{str, map, uint, int, option};
|
||||
import std::{str, option};
|
||||
import std::math::{max, min};
|
||||
import std::map::hashmap;
|
||||
import std::option::{none, some};
|
||||
import std::option::{some};
|
||||
import syntax::ast;
|
||||
import ast::{ty, pat, lit, path};
|
||||
import syntax::codemap::{codemap, span};
|
||||
import ast::{ty, pat};
|
||||
import syntax::codemap::{span};
|
||||
import syntax::visit;
|
||||
import std::io::{stdout, str_writer, string_writer};
|
||||
import syntax::print;
|
||||
import print::pprust::{print_block, print_item, print_expr, print_path,
|
||||
print_decl, print_fn, print_type, print_literal};
|
||||
import print::pp::mk_printer;
|
||||
|
||||
type flag = hashmap<str, ()>;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,7 @@
|
|||
import std::option;
|
||||
import std::fs;
|
||||
import std::vec;
|
||||
import std::str;
|
||||
import std::os;
|
||||
import back::link;
|
||||
|
||||
export filesearch;
|
||||
export mk_filesearch;
|
||||
|
|
@ -100,4 +98,4 @@ fn get_sysroot(maybe_sysroot: option::t<fs::path>) -> fs::path {
|
|||
option::some(sr) { sr }
|
||||
option::none. { get_default_sysroot() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,13 +3,11 @@ import std::option::{none, some};
|
|||
import middle::ty;
|
||||
import middle::ty::*;
|
||||
import metadata::encoder;
|
||||
import syntax::print::{pp, pprust};
|
||||
import syntax::print::pprust;
|
||||
import syntax::print::pprust::{path_to_str, constr_args_to_str, proto_to_str};
|
||||
import pp::{word, eof, zerobreak, hardbreak};
|
||||
import syntax::ast_util::ty_mach_to_str;
|
||||
import syntax::ast;
|
||||
import middle::ast_map;
|
||||
import metadata::csearch;
|
||||
|
||||
fn mode_str(m: ty::mode) -> str {
|
||||
alt m {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue