clean-up unused import warnings

This commit is contained in:
Huon Wilson 2013-06-10 23:15:01 +10:00
parent ead4468249
commit 5a711ea7c3
10 changed files with 1 additions and 11 deletions

View File

@ -46,7 +46,6 @@ use sync::{Mutex, mutex_with_condvars, RWlock, rwlock_with_condvars};
use core::cast; use core::cast;
use core::unstable::sync::UnsafeAtomicRcBox; use core::unstable::sync::UnsafeAtomicRcBox;
use core::ptr;
use core::task; use core::task;
use core::borrow; use core::borrow;

View File

@ -38,7 +38,6 @@
use core::prelude::*; use core::prelude::*;
use core::iterator::IteratorUtil; use core::iterator::IteratorUtil;
use core::str;
use core::uint; use core::uint;
use core::vec; use core::vec;

View File

@ -26,7 +26,6 @@ use middle;
use util::ppaux::ty_to_str; use util::ppaux::ty_to_str;
use core::at_vec; use core::at_vec;
use core::str;
use core::uint; use core::uint;
use extra::ebml::reader; use extra::ebml::reader;
use extra::ebml; use extra::ebml;

View File

@ -25,7 +25,6 @@ use core::hashmap::{HashSet, HashMap};
use core::io; use core::io;
use core::ops::{BitOr, BitAnd}; use core::ops::{BitOr, BitAnd};
use core::result::{Result}; use core::result::{Result};
use core::str;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::visit; use syntax::visit;

View File

@ -21,7 +21,6 @@ use core::prelude::*;
use core::iterator::IteratorUtil; use core::iterator::IteratorUtil;
use core::cast; use core::cast;
use core::io; use core::io;
use core::str;
use core::uint; use core::uint;
use core::vec; use core::vec;
use syntax::ast; use syntax::ast;

View File

@ -17,7 +17,6 @@ use middle::resolve;
use middle::ty; use middle::ty;
use core::hashmap::HashMap; use core::hashmap::HashMap;
use core::vec;
use syntax::codemap::span; use syntax::codemap::span;
use syntax::{ast, ast_util, visit}; use syntax::{ast, ast_util, visit};

View File

@ -44,7 +44,6 @@ use core::cast;
use core::hash; use core::hash;
use core::hashmap::{HashMap, HashSet}; use core::hashmap::{HashMap, HashSet};
use core::libc::{c_uint, c_longlong, c_ulonglong}; use core::libc::{c_uint, c_longlong, c_ulonglong};
use core::ptr;
use core::str; use core::str;
use core::to_bytes; use core::to_bytes;
use core::vec::raw::to_ptr; use core::vec::raw::to_ptr;

View File

@ -32,7 +32,6 @@ use option::{None, Option, Some};
use old_iter::{BaseIter, EqIter}; use old_iter::{BaseIter, EqIter};
use ptr; use ptr;
use ptr::RawPtr; use ptr::RawPtr;
use str;
use to_str::ToStr; use to_str::ToStr;
use uint; use uint;
use vec; use vec;

View File

@ -22,7 +22,6 @@ use parse::token::{str_to_ident};
use core::iterator::IteratorUtil; use core::iterator::IteratorUtil;
use core::char; use core::char;
use core::either; use core::either;
use core::str;
use core::u64; use core::u64;
pub use ext::tt::transcribe::{TtReader, new_tt_reader}; pub use ext::tt::transcribe::{TtReader, new_tt_reader};
@ -548,7 +547,7 @@ fn ident_continue(c: char) -> bool {
// EFFECT: advances the input past that token // EFFECT: advances the input past that token
// EFFECT: updates the interner // EFFECT: updates the interner
fn next_token_inner(rdr: @mut StringReader) -> token::Token { fn next_token_inner(rdr: @mut StringReader) -> token::Token {
let mut c = rdr.curr; let c = rdr.curr;
if ident_start(c) { if ident_start(c) {
let start = rdr.last_pos; let start = rdr.last_pos;
while ident_continue(rdr.curr) { while ident_continue(rdr.curr) {

View File

@ -34,7 +34,6 @@ use core::io;
use core::str; use core::str;
use core::u64; use core::u64;
use core::uint; use core::uint;
use core::vec;
// The @ps is stored here to prevent recursive type. // The @ps is stored here to prevent recursive type.
pub enum ann_node<'self> { pub enum ann_node<'self> {