Removing imports of std::vec_ng::Vec

It's now in the prelude.
This commit is contained in:
Alex Crichton 2014-03-19 23:23:00 -07:00
parent 7a5a8c3c07
commit da3625161d
182 changed files with 10 additions and 230 deletions

View File

@ -13,7 +13,6 @@
#[allow(non_camel_case_types)]; #[allow(non_camel_case_types)];
#[deny(warnings)]; #[deny(warnings)];
#[allow(deprecated_owned_vector)];
extern crate test; extern crate test;
extern crate getopts; extern crate getopts;

View File

@ -24,7 +24,6 @@
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[allow(missing_doc)]; #[allow(missing_doc)];
#[feature(managed_boxes)]; #[feature(managed_boxes)];
#[allow(deprecated_owned_vector)];
extern crate collections; extern crate collections;

View File

@ -25,7 +25,6 @@
// NOTE remove the following two attributes after the next snapshot. // NOTE remove the following two attributes after the next snapshot.
#[allow(unrecognized_lint)]; #[allow(unrecognized_lint)];
#[allow(default_type_param_usage)]; #[allow(default_type_param_usage)];
#[allow(deprecated_owned_vector)];
extern crate rand; extern crate rand;

View File

@ -94,7 +94,6 @@ pub fn inflate_bytes_zlib(bytes: &[u8]) -> CVec<u8> {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
#[allow(deprecated_owned_vector)];
extern crate rand; extern crate rand;
use super::{inflate_bytes, deflate_bytes}; use super::{inflate_bytes, deflate_bytes};

View File

@ -84,7 +84,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[deny(missing_doc)]; #[deny(missing_doc)];
#[allow(deprecated_owned_vector)];
#[feature(globs, phase)]; #[feature(globs, phase)];

View File

@ -30,7 +30,6 @@
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[allow(deprecated_owned_vector)];
use std::cell::Cell; use std::cell::Cell;
use std::{cmp, os, path}; use std::{cmp, os, path};

View File

@ -174,7 +174,6 @@
// NB this does *not* include globs, please keep it that way. // NB this does *not* include globs, please keep it that way.
#[feature(macro_rules, phase)]; #[feature(macro_rules, phase)];
#[allow(visible_private_types)]; #[allow(visible_private_types)];
#[allow(deprecated_owned_vector)];
#[cfg(test)] #[phase(syntax, link)] extern crate log; #[cfg(test)] #[phase(syntax, link)] extern crate log;
extern crate rand; extern crate rand;

View File

@ -9,7 +9,6 @@
// except according to those terms. // except according to those terms.
use std::cmp; use std::cmp;
use std::vec::Vec;
#[deriving(Show, Clone)] #[deriving(Show, Clone)]
pub struct LogDirective { pub struct LogDirective {

View File

@ -126,7 +126,6 @@ use std::local_data;
use std::os; use std::os;
use std::rt; use std::rt;
use std::slice; use std::slice;
use std::vec::Vec;
use sync::one::{Once, ONCE_INIT}; use sync::one::{Once, ONCE_INIT};

View File

@ -19,7 +19,6 @@ use std::libc;
use std::mem; use std::mem;
use std::rt::rtio; use std::rt::rtio;
use std::slice; use std::slice;
use std::vec::Vec;
use io::{IoResult, retry, keep_going}; use io::{IoResult, retry, keep_going};

View File

@ -50,7 +50,6 @@
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[deny(unused_result, unused_must_use)]; #[deny(unused_result, unused_must_use)];
#[allow(non_camel_case_types)]; #[allow(non_camel_case_types)];
#[allow(deprecated_owned_vector)];
// NB this crate explicitly does *not* allow glob imports, please seriously // NB this crate explicitly does *not* allow glob imports, please seriously
// consider whether they're needed before adding that feature here (the // consider whether they're needed before adding that feature here (the

View File

@ -29,7 +29,6 @@ use std::str;
use std::uint; use std::uint;
use std::{i64, u64}; use std::{i64, u64};
use std::vec; use std::vec;
use std::vec::Vec;
/** /**
A `BigDigit` is a `BigUint`'s composing element. A `BigDigit` is a `BigUint`'s composing element.
@ -1461,7 +1460,6 @@ mod biguint_tests {
use std::num::CheckedDiv; use std::num::CheckedDiv;
use rand::{task_rng}; use rand::{task_rng};
use std::u64; use std::u64;
use std::vec::Vec;
#[test] #[test]
fn test_from_slice() { fn test_from_slice() {
@ -2195,7 +2193,6 @@ mod bigint_tests {
use std::num::{ToPrimitive, FromPrimitive}; use std::num::{ToPrimitive, FromPrimitive};
use rand::{task_rng}; use rand::{task_rng};
use std::u64; use std::u64;
use std::vec::Vec;
#[test] #[test]
fn test_from_biguint() { fn test_from_biguint() {

View File

@ -17,7 +17,6 @@
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[allow(deprecated_owned_vector)];
extern crate rand; extern crate rand;

View File

@ -16,7 +16,6 @@ use std::cmp;
use std::fmt; use std::fmt;
use std::from_str::FromStr; use std::from_str::FromStr;
use std::num::{Zero,One,ToStrRadix,FromStrRadix,Round}; use std::num::{Zero,One,ToStrRadix,FromStrRadix,Round};
use std::vec::Vec;
use bigint::{BigInt, BigUint, Sign, Plus, Minus}; use bigint::{BigInt, BigUint, Sign, Plus, Minus};
/// Represents the ratio between 2 numbers. /// Represents the ratio between 2 numbers.

View File

@ -71,7 +71,6 @@ println!("{:?}", tuple_ptr)
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[feature(macro_rules, managed_boxes, phase)]; #[feature(macro_rules, managed_boxes, phase)];
#[allow(deprecated_owned_vector)];
#[cfg(test)] #[cfg(test)]
#[phase(syntax, link)] extern crate log; #[phase(syntax, link)] extern crate log;

View File

@ -16,7 +16,6 @@ use metadata::filesearch;
use lib::llvm::{ArchiveRef, llvm}; use lib::llvm::{ArchiveRef, llvm};
use std::cast; use std::cast;
use std::vec::Vec;
use std::io; use std::io;
use std::io::{fs, TempDir}; use std::io::{fs, TempDir};
use std::libc; use std::libc;

View File

@ -33,7 +33,6 @@ use std::ptr;
use std::str; use std::str;
use std::io; use std::io;
use std::io::{fs, TempDir, Process}; use std::io::{fs, TempDir, Process};
use std::vec::Vec;
use flate; use flate;
use serialize::hex::ToHex; use serialize::hex::ToHex;
use syntax::abi; use syntax::abi;
@ -105,7 +104,6 @@ pub mod write {
use std::io::Process; use std::io::Process;
use std::libc::{c_uint, c_int}; use std::libc::{c_uint, c_int};
use std::str; use std::str;
use std::vec::Vec;
// On android, we by default compile for armv7 processors. This enables // On android, we by default compile for armv7 processors. This enables
// things like double word CAS instructions (rather than emulating them) // things like double word CAS instructions (rather than emulating them)

View File

@ -11,7 +11,6 @@
use back::target_strs; use back::target_strs;
use driver::session::sess_os_to_meta_os; use driver::session::sess_os_to_meta_os;
use metadata::loader::meta_section_name; use metadata::loader::meta_section_name;
use std::vec::Vec;
use syntax::abi; use syntax::abi;
pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t { pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {

View File

@ -15,7 +15,6 @@ use metadata::filesearch;
use collections::HashSet; use collections::HashSet;
use std::{os, slice}; use std::{os, slice};
use std::vec::Vec;
use syntax::abi; use syntax::abi;
fn not_win32(os: abi::Os) -> bool { fn not_win32(os: abi::Os) -> bool {

View File

@ -10,8 +10,6 @@
#[allow(non_camel_case_types)]; #[allow(non_camel_case_types)];
use std::vec::Vec;
pub struct t { pub struct t {
module_asm: ~str, module_asm: ~str,
meta_sect_name: ~str, meta_sect_name: ~str,

View File

@ -37,7 +37,6 @@ use std::io::fs;
use std::io::MemReader; use std::io::MemReader;
use std::mem::drop; use std::mem::drop;
use std::os; use std::os;
use std::vec::Vec;
use std::vec; use std::vec;
use getopts::{optopt, optmulti, optflag, optflagopt}; use getopts::{optopt, optmulti, optflag, optflagopt};
use getopts; use getopts;

View File

@ -28,7 +28,6 @@ use syntax::{abi, ast, codemap};
use syntax; use syntax;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::vec::Vec;
use collections::HashSet; use collections::HashSet;
pub struct Config { pub struct Config {
@ -407,7 +406,7 @@ macro_rules! cgoptions(
} }
} }
fn parse_list(slot: &mut ::std::vec::Vec<~str>, v: Option<&str>) fn parse_list(slot: &mut Vec<~str>, v: Option<&str>)
-> bool { -> bool {
match v { match v {
Some(s) => { Some(s) => {

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
use std::vec::Vec;
use syntax::fold::Folder; use syntax::fold::Folder;
use syntax::{ast, fold, attr}; use syntax::{ast, fold, attr};
use syntax::codemap; use syntax::codemap;

View File

@ -31,7 +31,6 @@ use syntax::parse::token;
use driver::session::Session; use driver::session::Session;
use std::cell::Cell; use std::cell::Cell;
use std::vec::Vec;
/// This is a list of all known features since the beginning of time. This list /// This is a list of all known features since the beginning of time. This list
/// can never shrink, it may only be expanded (in order to prevent old programs /// can never shrink, it may only be expanded (in order to prevent old programs

View File

@ -11,7 +11,6 @@
use driver::session::Session; use driver::session::Session;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast; use syntax::ast;
use syntax::attr; use syntax::attr;

View File

@ -28,7 +28,6 @@ This API is completely unstable and subject to change.
html_root_url = "http://static.rust-lang.org/doc/master")]; html_root_url = "http://static.rust-lang.org/doc/master")];
#[allow(deprecated)]; #[allow(deprecated)];
#[allow(deprecated_owned_vector)];
#[feature(macro_rules, globs, struct_variant, managed_boxes)]; #[feature(macro_rules, globs, struct_variant, managed_boxes)];
#[feature(quote, default_type_params, phase)]; #[feature(quote, default_type_params, phase)];
@ -55,7 +54,6 @@ use std::io;
use std::os; use std::os;
use std::str; use std::str;
use std::task; use std::task;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast; use syntax::ast;
use syntax::diagnostic::Emitter; use syntax::diagnostic::Emitter;

View File

@ -23,7 +23,6 @@ use metadata::loader;
use metadata::loader::Os; use metadata::loader::Os;
use std::cell::RefCell; use std::cell::RefCell;
use std::vec::Vec;
use collections::HashMap; use collections::HashMap;
use syntax::ast; use syntax::ast;
use syntax::abi; use syntax::abi;

View File

@ -20,7 +20,6 @@ use middle::typeck;
use reader = serialize::ebml::reader; use reader = serialize::ebml::reader;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;

View File

@ -18,7 +18,6 @@ use metadata::decoder;
use metadata::loader; use metadata::loader;
use std::cell::RefCell; use std::cell::RefCell;
use std::vec::Vec;
use std::c_vec::CVec; use std::c_vec::CVec;
use collections::HashMap; use collections::HashMap;
use syntax::ast; use syntax::ast;

View File

@ -33,7 +33,6 @@ use std::io;
use std::io::extensions::u64_from_be_bytes; use std::io::extensions::u64_from_be_bytes;
use std::option; use std::option;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use serialize::ebml::reader; use serialize::ebml::reader;
use serialize::ebml; use serialize::ebml;
use serialize::Decodable; use serialize::Decodable;

View File

@ -32,7 +32,6 @@ use std::hash;
use std::hash::Hash; use std::hash::Hash;
use std::io::MemWriter; use std::io::MemWriter;
use std::str; use std::str;
use std::vec::Vec;
use collections::HashMap; use collections::HashMap;
use syntax::abi::AbiSet; use syntax::abi::AbiSet;
use syntax::ast::*; use syntax::ast::*;

View File

@ -13,7 +13,6 @@
use std::cell::RefCell; use std::cell::RefCell;
use std::os; use std::os;
use std::io::fs; use std::io::fs;
use std::vec::Vec;
use collections::HashSet; use collections::HashSet;
pub enum FileMatch { FileMatches, FileDoesntMatch } pub enum FileMatch { FileMatches, FileDoesntMatch }

View File

@ -31,7 +31,6 @@ use std::io;
use std::os::consts::{macos, freebsd, linux, android, win32}; use std::os::consts::{macos, freebsd, linux, android, win32};
use std::str; use std::str;
use std::slice; use std::slice;
use std::vec::Vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use flate; use flate;

View File

@ -20,7 +20,6 @@ use middle::ty;
use std::str; use std::str;
use std::uint; use std::uint;
use std::vec::Vec;
use syntax::abi::AbiSet; use syntax::abi::AbiSet;
use syntax::abi; use syntax::abi;
use syntax::ast; use syntax::ast;

View File

@ -19,7 +19,6 @@ use std::io;
use std::io::MemWriter; use std::io::MemWriter;
use std::str; use std::str;
use std::fmt; use std::fmt;
use std::vec::Vec;
use middle::ty::param_ty; use middle::ty::param_ty;
use middle::ty; use middle::ty;

View File

@ -37,7 +37,6 @@ use std::cast;
use std::cell::RefCell; use std::cell::RefCell;
use std::io::Seek; use std::io::Seek;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use serialize::ebml::reader; use serialize::ebml::reader;
use serialize::ebml; use serialize::ebml;

View File

@ -23,7 +23,6 @@ use middle::borrowck::*;
use middle::moves; use middle::moves;
use middle::ty; use middle::ty;
use middle::typeck::MethodCall; use middle::typeck::MethodCall;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -27,7 +27,6 @@ use middle::typeck::MethodCall;
use util::common::indenter; use util::common::indenter;
use util::ppaux::{Repr}; use util::ppaux::{Repr};
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::ast_util::IdRange; use syntax::ast_util::IdRange;

View File

@ -12,7 +12,6 @@
* Computes the restrictions that result from a borrow. * Computes the restrictions that result from a borrow.
*/ */
use std::vec::Vec;
use std::vec; use std::vec;
use middle::borrowck::*; use middle::borrowck::*;
use mc = middle::mem_categorization; use mc = middle::mem_categorization;

View File

@ -25,7 +25,6 @@ use std::cell::{Cell, RefCell};
use collections::HashMap; use collections::HashMap;
use std::ops::{BitOr, BitAnd}; use std::ops::{BitOr, BitAnd};
use std::result::{Result}; use std::result::{Result};
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::ast_util; use syntax::ast_util;

View File

@ -17,7 +17,6 @@ comments in the section "Moves and initialization" and in `doc.rs`.
use std::cell::RefCell; use std::cell::RefCell;
use std::uint; use std::uint;
use std::vec::Vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use middle::borrowck::*; use middle::borrowck::*;
use middle::dataflow::DataFlowContext; use middle::dataflow::DataFlowContext;

View File

@ -12,7 +12,6 @@ use middle::cfg::*;
use middle::graph; use middle::graph;
use middle::typeck; use middle::typeck;
use middle::ty; use middle::ty;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::opt_vec; use syntax::opt_vec;

View File

@ -15,7 +15,6 @@ use middle::ty;
use middle::typeck; use middle::typeck;
use util::ppaux; use util::ppaux;
use std::vec::Vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::{ast_util, ast_map}; use syntax::{ast_util, ast_map};
use syntax::visit::Visitor; use syntax::visit::Visitor;

View File

@ -21,7 +21,6 @@ use util::ppaux::ty_to_str;
use std::cmp; use std::cmp;
use std::iter; use std::iter;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::ast_util::{unguarded_pat, walk_pat}; use syntax::ast_util::{unguarded_pat, walk_pat};

View File

@ -26,7 +26,6 @@ use syntax::{ast, ast_map, ast_util};
use std::cell::RefCell; use std::cell::RefCell;
use collections::HashMap; use collections::HashMap;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
// //
// This pass classifies expressions by their constant-ness. // This pass classifies expressions by their constant-ness.

View File

@ -20,7 +20,6 @@
use std::io; use std::io;
use std::uint; use std::uint;
use std::slice; use std::slice;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::ast_util::IdRange; use syntax::ast_util::IdRange;

View File

@ -19,7 +19,6 @@ use middle::typeck;
use util::nodemap::NodeSet; use util::nodemap::NodeSet;
use collections::HashSet; use collections::HashSet;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::ast_util::{local_def, def_id_of_def, is_local}; use syntax::ast_util::{local_def, def_id_of_def, is_local};

View File

@ -11,7 +11,6 @@
use driver::session; use driver::session;
use driver::session::Session; use driver::session::Session;
use std::vec::Vec;
use syntax::ast::{Crate, Name, NodeId, Item, ItemFn}; use syntax::ast::{Crate, Name, NodeId, Item, ItemFn};
use syntax::ast_map; use syntax::ast_map;
use syntax::attr; use syntax::attr;

View File

@ -17,7 +17,6 @@ use middle::resolve;
use middle::ty; use middle::ty;
use util::nodemap::{NodeMap, NodeSet}; use util::nodemap::{NodeMap, NodeSet};
use std::vec::Vec;
use syntax::codemap::Span; use syntax::codemap::Span;
use syntax::{ast, ast_util}; use syntax::{ast, ast_util};
use syntax::visit; use syntax::visit;

View File

@ -35,7 +35,6 @@ be indexed by the direction (see the type `Direction`).
*/ */
use std::uint; use std::uint;
use std::vec::Vec;
pub struct Graph<N,E> { pub struct Graph<N,E> {
priv nodes: Vec<Node<N>> , priv nodes: Vec<Node<N>> ,

View File

@ -16,7 +16,6 @@ use middle::typeck;
use util::ppaux::{Repr, ty_to_str}; use util::ppaux::{Repr, ty_to_str};
use util::ppaux::UserString; use util::ppaux::UserString;
use std::vec::Vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::attr; use syntax::attr;
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -33,7 +33,6 @@ use syntax::visit;
use collections::HashMap; use collections::HashMap;
use std::iter::Enumerate; use std::iter::Enumerate;
use std::slice; use std::slice;
use std::vec::Vec;
// The actual lang items defined come at the end of this file in one handy table. // The actual lang items defined come at the end of this file in one handy table.
// So you probably just want to nip down to the end. // So you probably just want to nip down to the end.

View File

@ -58,7 +58,6 @@ use std::u16;
use std::u32; use std::u32;
use std::u64; use std::u64;
use std::u8; use std::u8;
use std::vec::Vec;
use collections::SmallIntMap; use collections::SmallIntMap;
use syntax::ast_map; use syntax::ast_map;
use syntax::ast_util::IdVisitingOperation; use syntax::ast_util::IdVisitingOperation;

View File

@ -116,7 +116,6 @@ use std::io;
use std::rc::Rc; use std::rc::Rc;
use std::str; use std::str;
use std::uint; use std::uint;
use std::vec::Vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::codemap::Span; use syntax::codemap::Span;
use syntax::parse::token::special_idents; use syntax::parse::token::special_idents;

View File

@ -66,7 +66,6 @@ use middle::ty;
use middle::typeck; use middle::typeck;
use util::ppaux::{ty_to_str, region_ptr_to_str, Repr}; use util::ppaux::{ty_to_str, region_ptr_to_str, Repr};
use std::vec::Vec;
use syntax::ast::{MutImmutable, MutMutable}; use syntax::ast::{MutImmutable, MutMutable};
use syntax::ast; use syntax::ast;
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -138,7 +138,6 @@ use util::ppaux::UserString;
use util::nodemap::{NodeMap, NodeSet}; use util::nodemap::{NodeMap, NodeSet};
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::ast_util; use syntax::ast_util;
use syntax::visit; use syntax::visit;

View File

@ -12,7 +12,6 @@
use middle::resolve; use middle::resolve;
use collections::HashMap; use collections::HashMap;
use std::vec::Vec;
use syntax::ast::*; use syntax::ast::*;
use syntax::ast_util::{path_to_ident, walk_pat}; use syntax::ast_util::{path_to_ident, walk_pat};
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -13,7 +13,6 @@
//! which are available for use externally when compiled as a library. //! which are available for use externally when compiled as a library.
use std::mem::replace; use std::mem::replace;
use std::vec::Vec;
use metadata::csearch; use metadata::csearch;
use middle::lint; use middle::lint;

View File

@ -20,7 +20,6 @@ use middle::typeck;
use middle::privacy; use middle::privacy;
use util::nodemap::NodeSet; use util::nodemap::NodeSet;
use std::vec::Vec;
use collections::HashSet; use collections::HashSet;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;

View File

@ -27,7 +27,6 @@ use middle::ty;
use util::nodemap::NodeMap; use util::nodemap::NodeMap;
use std::cell::RefCell; use std::cell::RefCell;
use std::vec::Vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use syntax::codemap::Span; use syntax::codemap::Span;
use syntax::{ast, visit}; use syntax::{ast, visit};

View File

@ -34,7 +34,6 @@ use syntax::visit::Visitor;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::uint; use std::uint;
use std::mem::replace; use std::mem::replace;
use std::vec::Vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
// Definition mapping // Definition mapping

View File

@ -18,7 +18,6 @@
*/ */
use driver::session::Session; use driver::session::Session;
use std::vec::Vec;
use util::nodemap::NodeMap; use util::nodemap::NodeMap;
use syntax::ast; use syntax::ast;
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -16,7 +16,6 @@ use middle::ty_fold::TypeFolder;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use syntax::codemap::Span; use syntax::codemap::Span;
use syntax::opt_vec::OptVec; use syntax::opt_vec::OptVec;

View File

@ -225,7 +225,6 @@ use util::ppaux::{Repr, vec_map_to_str};
use collections::HashMap; use collections::HashMap;
use std::cell::Cell; use std::cell::Cell;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast; use syntax::ast;
use syntax::ast::Ident; use syntax::ast::Ident;

View File

@ -57,7 +57,6 @@ use middle::trans::type_::Type;
use middle::trans::type_of; use middle::trans::type_of;
use middle::ty; use middle::ty;
use middle::ty::Disr; use middle::ty::Disr;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::abi::{X86, X86_64, Arm, Mips}; use syntax::abi::{X86, X86_64, Arm, Mips};
use syntax::ast; use syntax::ast;

View File

@ -23,7 +23,6 @@ use middle::trans::type_of;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
// Take an inline assembly expression and splat it out via LLVM // Take an inline assembly expression and splat it out via LLVM

View File

@ -76,7 +76,6 @@ use std::c_str::ToCStr;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::libc::c_uint; use std::libc::c_uint;
use std::local_data; use std::local_data;
use std::vec::Vec;
use syntax::abi::{X86, X86_64, Arm, Mips, Rust, RustIntrinsic, OsWin32}; use syntax::abi::{X86, X86_64, Arm, Mips, Rust, RustIntrinsic, OsWin32};
use syntax::ast_map::PathName; use syntax::ast_map::PathName;
use syntax::ast_util::{local_def, is_local}; use syntax::ast_util::{local_def, is_local};

View File

@ -20,7 +20,6 @@ use middle::trans::type_::Type;
use collections::HashMap; use collections::HashMap;
use std::libc::{c_uint, c_ulonglong, c_char}; use std::libc::{c_uint, c_ulonglong, c_char};
use std::vec::Vec;
use syntax::codemap::Span; use syntax::codemap::Span;
pub struct Builder<'a> { pub struct Builder<'a> {

View File

@ -16,7 +16,6 @@ use middle::trans::cabi_x86_64;
use middle::trans::cabi_arm; use middle::trans::cabi_arm;
use middle::trans::cabi_mips; use middle::trans::cabi_mips;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::vec::Vec;
use syntax::abi::{X86, X86_64, Arm, Mips}; use syntax::abi::{X86, X86_64, Arm, Mips};
#[deriving(Clone, Eq)] #[deriving(Clone, Eq)]

View File

@ -17,8 +17,6 @@ use middle::trans::context::CrateContext;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::cmp; use std::cmp;
use std::option::{None, Some};
use std::vec::Vec;
fn align_up_to(off: uint, a: uint) -> uint { fn align_up_to(off: uint, a: uint) -> uint {
return (off + a - 1u) / a * a; return (off + a - 1u) / a * a;

View File

@ -18,8 +18,6 @@ use middle::trans::context::CrateContext;
use middle::trans::cabi::*; use middle::trans::cabi::*;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::vec::Vec;
fn align_up_to(off: uint, a: uint) -> uint { fn align_up_to(off: uint, a: uint) -> uint {
return (off + a - 1u) / a * a; return (off + a - 1u) / a * a;
} }

View File

@ -15,7 +15,6 @@ use super::cabi::*;
use super::common::*; use super::common::*;
use super::machine::*; use super::machine::*;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::vec::Vec;
pub fn compute_abi_info(ccx: &CrateContext, pub fn compute_abi_info(ccx: &CrateContext,
atys: &[Type], atys: &[Type],

View File

@ -21,7 +21,6 @@ use middle::trans::context::CrateContext;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::cmp; use std::cmp;
use std::vec::Vec;
#[deriving(Clone, Eq)] #[deriving(Clone, Eq)]
enum RegClass { enum RegClass {

View File

@ -49,7 +49,6 @@ use util::ppaux::Repr;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast; use syntax::ast;
use syntax::abi::AbiSet; use syntax::abi::AbiSet;

View File

@ -27,7 +27,6 @@ use util::ppaux::Repr;
use util::ppaux::ty_to_str; use util::ppaux::ty_to_str;
use arena::TypedArena; use arena::TypedArena;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;

View File

@ -35,7 +35,6 @@ use collections::HashMap;
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::libc::{c_uint, c_longlong, c_ulonglong, c_char}; use std::libc::{c_uint, c_longlong, c_ulonglong, c_char};
use std::vec::Vec;
use syntax::ast::Ident; use syntax::ast::Ident;
use syntax::ast; use syntax::ast;
use syntax::ast_map::{PathElem, PathName}; use syntax::ast_map::{PathElem, PathName};

View File

@ -33,7 +33,6 @@ use std::cell::{Cell, RefCell};
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::libc::c_uint; use std::libc::c_uint;
use std::ptr; use std::ptr;
use std::vec::Vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use syntax::ast; use syntax::ast;
use syntax::parse::token::InternedString; use syntax::parse::token::InternedString;

View File

@ -149,7 +149,6 @@ use std::libc::{c_uint, c_ulonglong, c_longlong};
use std::ptr; use std::ptr;
use std::sync::atomics; use std::sync::atomics;
use std::slice; use std::slice;
use std::vec::Vec;
use syntax::codemap::{Span, Pos}; use syntax::codemap::{Span, Pos};
use syntax::{abi, ast, codemap, ast_util, ast_map, opt_vec}; use syntax::{abi, ast, codemap, ast_util, ast_map, opt_vec};
use syntax::parse::token; use syntax::parse::token;

View File

@ -71,7 +71,6 @@ use middle::trans::machine::llsize_of;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::slice; use std::slice;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::codemap; use syntax::codemap;
use syntax::print::pprust::{expr_to_str}; use syntax::print::pprust::{expr_to_str};

View File

@ -27,7 +27,6 @@ use middle::ty::FnSig;
use middle::ty; use middle::ty;
use std::cmp; use std::cmp;
use std::libc::c_uint; use std::libc::c_uint;
use std::vec::Vec;
use syntax::abi::{Cdecl, Aapcs, C, AbiSet, Win64}; use syntax::abi::{Cdecl, Aapcs, C, AbiSet, Win64};
use syntax::abi::{RustIntrinsic, Rust, Stdcall, Fastcall, System}; use syntax::abi::{RustIntrinsic, Rust, Stdcall, Fastcall, System};
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -25,7 +25,6 @@ use middle::trans::machine;
use middle::trans::machine::llsize_of; use middle::trans::machine::llsize_of;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use middle::ty; use middle::ty;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::parse::token; use syntax::parse::token;

View File

@ -34,7 +34,6 @@ use util::common::indenter;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::parse::token; use syntax::parse::token;
use syntax::{ast, ast_map, visit}; use syntax::{ast, ast_map, visit};

View File

@ -23,7 +23,6 @@ use middle::ty;
use middle::typeck; use middle::typeck;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::ast_util::local_def; use syntax::ast_util::local_def;

View File

@ -27,8 +27,6 @@ use util::ppaux::ty_to_str;
use arena::TypedArena; use arena::TypedArena;
use std::libc::c_uint; use std::libc::c_uint;
use std::option::{Some,None};
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast::DefId; use syntax::ast::DefId;
use syntax::ast; use syntax::ast;

View File

@ -21,7 +21,6 @@ use syntax::abi::{X86, X86_64, Arm, Mips};
use std::c_str::ToCStr; use std::c_str::ToCStr;
use std::cast; use std::cast;
use std::slice; use std::slice;
use std::vec::Vec;
use std::libc::{c_uint}; use std::libc::{c_uint};

View File

@ -19,7 +19,6 @@ use util::ppaux::Repr;
use middle::trans::type_::Type; use middle::trans::type_::Type;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::opt_vec; use syntax::opt_vec;

View File

@ -40,7 +40,6 @@ use std::fmt;
use std::hash::{Hash, sip}; use std::hash::{Hash, sip};
use std::ops; use std::ops;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use std::vec; use std::vec;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use syntax::ast::*; use syntax::ast::*;

View File

@ -13,8 +13,6 @@
use middle::ty; use middle::ty;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::vec::Vec;
pub trait TypeFolder { pub trait TypeFolder {
fn tcx<'a>(&'a self) -> &'a ty::ctxt; fn tcx<'a>(&'a self) -> &'a ty::ctxt;

View File

@ -60,7 +60,6 @@ use middle::typeck::rscope::{RegionScope};
use middle::typeck::lookup_def_tcx; use middle::typeck::lookup_def_tcx;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::vec::Vec;
use syntax::abi::AbiSet; use syntax::abi::AbiSet;
use syntax::{ast, ast_util}; use syntax::{ast, ast_util};
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -20,7 +20,6 @@ use middle::typeck::infer;
use middle::typeck::require_same_types; use middle::typeck::require_same_types;
use collections::{HashMap, HashSet}; use collections::{HashMap, HashSet};
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::parse::token; use syntax::parse::token;

View File

@ -97,7 +97,6 @@ use util::ppaux::Repr;
use collections::HashSet; use collections::HashSet;
use std::result; use std::result;
use std::vec::Vec;
use std::vec; use std::vec;
use syntax::ast::{DefId, SelfValue, SelfRegion}; use syntax::ast::{DefId, SelfValue, SelfRegion};
use syntax::ast::{SelfUniq, SelfStatic}; use syntax::ast::{SelfUniq, SelfStatic};

View File

@ -15,7 +15,6 @@ use middle::ty_fold;
use middle::ty_fold::TypeFolder; use middle::ty_fold::TypeFolder;
use collections::HashMap; use collections::HashMap;
use std::vec::Vec;
use util::ppaux::Repr; use util::ppaux::Repr;
use util::ppaux; use util::ppaux;

View File

@ -30,7 +30,6 @@ use util::ppaux::Repr;
use collections::HashSet; use collections::HashSet;
use std::cell::RefCell; use std::cell::RefCell;
use std::result; use std::result;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_util; use syntax::ast_util;
use syntax::codemap::Span; use syntax::codemap::Span;

View File

@ -28,7 +28,6 @@ use middle::typeck::write_ty_to_tcx;
use util::ppaux; use util::ppaux;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::codemap::Span; use syntax::codemap::Span;
use syntax::print::pprust::pat_to_str; use syntax::print::pprust::pat_to_str;

View File

@ -48,7 +48,6 @@ use syntax::visit;
use collections::HashSet; use collections::HashSet;
use std::cell::RefCell; use std::cell::RefCell;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use std::vec; use std::vec;
struct UniversalQuantificationResult { struct UniversalQuantificationResult {

View File

@ -46,7 +46,6 @@ use util::ppaux;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::rc::Rc; use std::rc::Rc;
use std::vec::Vec;
use std::vec; use std::vec;
use collections::HashSet; use collections::HashSet;

View File

@ -63,7 +63,7 @@ use util::common::indent;
use util::ppaux::Repr; use util::ppaux::Repr;
use std::result; use std::result;
use std::vec::Vec;
use syntax::ast::{Onceness, Purity}; use syntax::ast::{Onceness, Purity};
use syntax::ast; use syntax::ast;
use syntax::opt_vec; use syntax::opt_vec;

View File

@ -76,7 +76,6 @@ use middle::typeck::infer::region_inference::ProcessedErrors;
use middle::typeck::infer::region_inference::SameRegions; use middle::typeck::infer::region_inference::SameRegions;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::char::from_u32; use std::char::from_u32;
use std::vec::Vec;
use syntax::ast; use syntax::ast;
use syntax::ast_map; use syntax::ast_map;
use syntax::ast_util; use syntax::ast_util;

View File

@ -46,7 +46,6 @@ use middle::typeck::infer::to_str::InferStr;
use util::common::indenter; use util::common::indenter;
use collections::HashMap; use collections::HashMap;
use std::vec::Vec;
pub trait LatticeValue { pub trait LatticeValue {
fn sub(cf: &CombineFields, a: &Self, b: &Self) -> ures; fn sub(cf: &CombineFields, a: &Self, b: &Self) -> ures;

View File

@ -39,7 +39,6 @@ use middle::typeck::infer::unify::{ValsAndBindings, Root};
use middle::typeck::infer::error_reporting::ErrorReporting; use middle::typeck::infer::error_reporting::ErrorReporting;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::result; use std::result;
use std::vec::Vec;
use syntax::ast::{MutImmutable, MutMutable}; use syntax::ast::{MutImmutable, MutMutable};
use syntax::ast; use syntax::ast;
use syntax::codemap; use syntax::codemap;

Some files were not shown because too many files have changed in this diff Show More