Kill some warnings: unused imports and old #[deny(..)]s.

This commit is contained in:
Huon Wilson 2013-03-25 01:17:23 +11:00
parent a56ec8c134
commit 12df65470f
13 changed files with 0 additions and 16 deletions

View File

@ -51,7 +51,6 @@ Implicitly, all crates behave as if they included the following prologue:
#[warn(vecs_implicitly_copyable)];
#[deny(non_camel_case_types)];
#[allow(deprecated_mutable_fields)];
#[deny(deprecated_self)];
#[allow(deprecated_drop)];
// On Linux, link to the runtime with -lrt.

View File

@ -24,7 +24,6 @@ use managed;
use ptr;
use reflect;
use reflect::{MovePtr, MovePtrAdaptor, align};
use str;
use sys;
use to_str::ToStr;
use vec::UnboxedVecRepr;

View File

@ -2547,7 +2547,6 @@ impl<A:Clone> Clone for ~[A] {
#[cfg(test)]
mod tests {
use option::{None, Option, Some};
use option;
use sys;
use vec::*;
use cmp::*;

View File

@ -25,7 +25,6 @@
#[allow(non_camel_case_types)];
#[allow(deprecated_mode)];
#[allow(deprecated_pattern)];
#[deny(deprecated_self)];
extern mod core(vers = "0.6");
extern mod std(vers = "0.6");

View File

@ -12,8 +12,6 @@
// FIXME #2238 Make commands run and test emit proper file endings on winds
// FIXME #2238 Make run only accept source that emits an executable
#[deny(deprecated_self)];
#[link(name = "rust",
vers = "0.6",
uuid = "4a24da33-5cc8-4037-9352-2cbe9bd9d27c",

View File

@ -25,7 +25,6 @@ use util::common::time;
use util::ppaux;
use core::int;
use core::io::WriterUtil;
use core::io;
use core::os;
use core::str;

View File

@ -56,8 +56,6 @@ use syntax::{visit, ast_util};
// primitives in the stdlib are explicitly annotated to only take sendable
// types.
use core::hashmap::linear::LinearSet;
pub static try_adding: &'static str = "Try adding a move";
pub type rval_map = HashMap<node_id, ()>;

View File

@ -24,7 +24,6 @@
#[allow(non_camel_case_types)];
#[allow(deprecated_mode)];
#[warn(deprecated_pattern)];
#[deny(deprecated_self)];
#[no_core];

View File

@ -22,7 +22,6 @@
#[no_core];
#[allow(non_implicitly_copyable_typarams)];
#[deny(deprecated_self)];
extern mod core(vers = "0.6");
extern mod std(vers = "0.6");

View File

@ -18,8 +18,6 @@ is interpreted as the brief description.
use pass::Pass;
use text_pass;
use core::str;
pub fn mk_pass() -> Pass {
text_pass::mk_pass(~"trim", |s| s.trim().to_owned() )
}

View File

@ -22,7 +22,6 @@
#[allow(vecs_implicitly_copyable,
non_implicitly_copyable_typarams)];
#[deny(deprecated_self)];
extern mod core(vers = "0.6");
extern mod std(vers = "0.6");

View File

@ -20,7 +20,6 @@
#[no_core];
#[allow(vecs_implicitly_copyable,
non_implicitly_copyable_typarams)];
#[deny(deprecated_self)];
extern mod core(vers = "0.6");
extern mod std(vers = "0.6");

View File

@ -28,7 +28,6 @@ not required in or otherwise suitable for the core library.
#[allow(vecs_implicitly_copyable)];
#[deny(non_camel_case_types)];
#[deny(deprecated_self)];
#[allow(deprecated_mutable_fields)];
#[no_core];