mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-26 15:36:39 +00:00
clean-up unused import warnings
This commit is contained in:
parent
ead4468249
commit
5a711ea7c3
@ -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;
|
||||
|
||||
|
@ -38,7 +38,6 @@
|
||||
use core::prelude::*;
|
||||
|
||||
use core::iterator::IteratorUtil;
|
||||
use core::str;
|
||||
use core::uint;
|
||||
use core::vec;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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};
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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) {
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user