std: Warning police

This commit is contained in:
Tim Chevalier 2013-05-03 15:57:18 -07:00
parent 5fb5a94118
commit 18bf9bd55a
5 changed files with 3 additions and 10 deletions

View file

@ -33,7 +33,6 @@
// to waste time running the destructors of POD.
use list::{MutList, MutCons, MutNil};
use list;
use core::at_vec;
use core::cast::{transmute, transmute_mut_region};
@ -79,7 +78,7 @@ struct Chunk {
}
pub struct Arena {
// The head is seperated out from the list as a unbenchmarked
// The head is separated out from the list as a unbenchmarked
// microoptimization, to avoid needing to case on the list to
// access the head.
priv head: Chunk,

View file

@ -23,7 +23,7 @@
use core::cast;
use core::cell::Cell;
use core::comm::{ChanOne, PortOne, oneshot, send_one};
use core::comm::{PortOne, oneshot, send_one};
use core::pipes::recv;
use core::task;

View file

@ -11,8 +11,6 @@
//! High-level interface to libuv's TCP functionality
// FIXME #4425: Need FFI fixes
#[allow(deprecated_mode)];
use future;
use future_spawn = future::spawn;
use ip = net_ip;

View file

@ -10,8 +10,6 @@
//! Types/fns concerning URLs (see RFC 3986)
#[allow(deprecated_mode)];
use core::cmp::Eq;
use core::io::{Reader, ReaderUtil};
use core::io;

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[allow(deprecated_mode)];
use json;
use sha1;
use serialize::{Encoder, Encodable, Decoder, Decodable};
@ -17,7 +15,7 @@ use sort;
use core::cell::Cell;
use core::cmp;
use core::comm::{ChanOne, PortOne, oneshot, send_one};
use core::comm::{PortOne, oneshot, send_one};
use core::either::{Either, Left, Right};
use core::hashmap::HashMap;
use core::io;