std: Remove unused attributes
This also enables two tests properly.
This commit is contained in:
parent
1f7bfac9d2
commit
87b166d94a
@ -10,8 +10,6 @@
|
||||
|
||||
//! Types dealing with dynamic mutability
|
||||
|
||||
#[missing_doc];
|
||||
|
||||
use prelude::*;
|
||||
use cast;
|
||||
use util::NonCopyable;
|
||||
|
@ -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] = ~[];
|
||||
|
@ -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()); }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user