remove unused imports
This commit is contained in:
parent
9b5d523126
commit
e6e4f52bcf
@ -59,7 +59,6 @@ use middle::trans::type_of::*;
|
||||
use middle::ty;
|
||||
use util::common::indenter;
|
||||
use util::ppaux::{Repr, ty_to_str};
|
||||
use middle::pat_util;
|
||||
|
||||
use middle::trans::type_::Type;
|
||||
|
||||
|
@ -20,7 +20,6 @@ use std::vec;
|
||||
|
||||
use back::abi;
|
||||
use driver::session;
|
||||
use lib;
|
||||
use lib::llvm::ValueRef;
|
||||
use lib::llvm::llvm;
|
||||
use metadata::csearch;
|
||||
|
@ -29,7 +29,6 @@ use std::hash;
|
||||
use std::hashmap::{HashMap, HashSet};
|
||||
use std::str;
|
||||
use std::local_data;
|
||||
use extra::time;
|
||||
use syntax::ast;
|
||||
|
||||
use middle::trans::common::{mono_id,ExternMap,tydesc_info,BuilderRef_res,Stats};
|
||||
|
@ -100,7 +100,6 @@ use middle::trans::glue;
|
||||
use middle::trans::tvec;
|
||||
use middle::trans::type_of;
|
||||
use middle::trans::write_guard;
|
||||
use middle::trans::type_::Type;
|
||||
use middle::ty;
|
||||
use util::common::indenter;
|
||||
use util::ppaux::ty_to_str;
|
||||
|
@ -39,7 +39,6 @@ use middle::trans::type_::Type;
|
||||
use std::io;
|
||||
use std::libc::c_uint;
|
||||
use std::str;
|
||||
use extra::time;
|
||||
use syntax::ast;
|
||||
|
||||
pub fn trans_free(cx: block, v: ValueRef) -> block {
|
||||
|
@ -19,7 +19,6 @@ use middle::trans::glue;
|
||||
use middle::ty;
|
||||
use middle::trans::machine::llsize_of;
|
||||
use middle::trans::type_of;
|
||||
use middle::trans::type_of::*;
|
||||
|
||||
pub fn make_free_glue(bcx: block, vptrptr: ValueRef, box_ty: ty::t)
|
||||
-> block {
|
||||
|
@ -26,7 +26,9 @@ use option::{None, Option, Some};
|
||||
use ptr::to_unsafe_ptr;
|
||||
use ptr;
|
||||
use ptr::RawPtr;
|
||||
use rt::global_heap::{malloc_raw, realloc_raw};
|
||||
#[cfg(not(stage0))]
|
||||
use rt::global_heap::malloc_raw;
|
||||
use rt::global_heap::realloc_raw;
|
||||
use sys;
|
||||
use sys::size_of;
|
||||
use uint;
|
||||
|
Loading…
Reference in New Issue
Block a user