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::unstable::sync::UnsafeAtomicRcBox;
use core::ptr;
use core::task;
use core::borrow;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -22,7 +22,6 @@ use parse::token::{str_to_ident};
use core::iterator::IteratorUtil;
use core::char;
use core::either;
use core::str;
use core::u64;
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: updates the interner
fn next_token_inner(rdr: @mut StringReader) -> token::Token {
let mut c = rdr.curr;
let c = rdr.curr;
if ident_start(c) {
let start = rdr.last_pos;
while ident_continue(rdr.curr) {

View File

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