1
Fork 0

Rollup merge of #22567 - Gankro:unstable, r=alexcrichton

* Adds features and allows
* Removes unused muts, unused imports, dead code
* Migrates some deprecated code to new io/env
* Changes std::num::uint/int to be re-exports of std::num::usize/isize

libcollections, liballoc, and libcoretest no longer warn during testing.

libstd warns much less, though there's some dangly bits that weren't obvious fixes. In particular, how to only supress deprecated warnings in specific submodules of std.
This commit is contained in:
Manish Goregaokar 2015-02-22 01:53:16 +05:30
commit 59ab2daad3
20 changed files with 157 additions and 194 deletions

View file

@ -702,7 +702,7 @@ mod test {
use boxed::BoxAny;
use result;
use std::old_io::{ChanReader, ChanWriter};
use super::{Thread, Builder};
use super::{Builder};
use thread;
use thunk::Thunk;
use time::Duration;
@ -767,7 +767,7 @@ mod test {
#[test]
#[should_fail]
fn test_scoped_implicit_panic() {
thread::scoped(|| panic!());
let _ = thread::scoped(|| panic!());
}
#[test]