mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-27 07:55:03 +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::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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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};
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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) {
|
||||||
|
@ -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> {
|
||||||
|
Loading…
Reference in New Issue
Block a user