Cleanup unused imports
This commit is contained in:
parent
9bc2f1800d
commit
5a7249c935
61 changed files with 104 additions and 204 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import std::{str, vec, option};
|
||||
import std::{vec, option};
|
||||
import std::map::hashmap;
|
||||
import driver::session::session;
|
||||
import codemap::span;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* should all get sucked into either the compiler syntax extension plugin
|
||||
* interface.
|
||||
*/
|
||||
import std::{vec, str, option, generic_os};
|
||||
import std::{vec, option, generic_os};
|
||||
import base::*;
|
||||
export expand_syntax_ext;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import driver::session;
|
|||
import std::option::{none, some};
|
||||
|
||||
import std::map::hashmap;
|
||||
import std::{vec, str};
|
||||
import std::{vec};
|
||||
|
||||
import syntax::ast::{crate, expr_, expr_mac, mac_invoc};
|
||||
import syntax::fold::*;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
* compiler syntax extension plugin interface.
|
||||
*/
|
||||
import std::{vec, str, option};
|
||||
import std::option::{none, some};
|
||||
import std::option::{some};
|
||||
import std::extfmt::ct::*;
|
||||
import base::*;
|
||||
import codemap::span;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import std::{vec, str, option};
|
||||
import std::{vec, option};
|
||||
import base::*;
|
||||
import syntax::ast;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import std::{str, option};
|
||||
import std::{option};
|
||||
import base::*;
|
||||
import syntax::ast;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,15 @@
|
|||
use std;
|
||||
|
||||
import codemap::span;
|
||||
import std::{vec, str, option};
|
||||
import std::{vec, option};
|
||||
import std::map::{hashmap, new_str_hash};
|
||||
import option::{some, none};
|
||||
|
||||
import base::{syntax_extension, ext_ctxt, normal,
|
||||
expr_to_str, expr_to_ident};
|
||||
import base::{ext_ctxt, normal};
|
||||
|
||||
import fold::*;
|
||||
import ast_util::respan;
|
||||
import ast::{ident, path, ty, blk, blk_, expr, expr_, path_, expr_path,
|
||||
import ast::{ident, path, ty, blk_, expr, path_, expr_path,
|
||||
expr_vec, expr_mac, mac_invoc, node_id};
|
||||
|
||||
export add_new_extension;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue