std: Remove unused attributes

This also enables two tests properly.
This commit is contained in:
klutzy 2013-11-06 12:16:47 +09:00
parent 1f7bfac9d2
commit 87b166d94a
3 changed files with 2 additions and 5 deletions

View File

@ -10,8 +10,6 @@
//! Types dealing with dynamic mutability
#[missing_doc];
use prelude::*;
use cast;
use util::NonCopyable;

View File

@ -2704,7 +2704,7 @@ mod tests {
assert_eq!(a.init(), &[11]);
}
#[init]
#[test]
#[should_fail]
fn test_init_empty() {
let a: ~[int] = ~[];
@ -2719,7 +2719,7 @@ mod tests {
assert_eq!(a.initn(2), &[11]);
}
#[init]
#[test]
#[should_fail]
fn test_initn_empty() {
let a: ~[int] = ~[];

View File

@ -23,7 +23,6 @@ use std::str;
struct A;
struct B;
#[fmt="foo"]
impl fmt::Signed for A {
fn fmt(_: &A, f: &mut fmt::Formatter) { f.buf.write("aloha".as_bytes()); }
}