diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-05-30 13:20:17 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-05-30 13:20:17 -0700 |
| commit | ea633b42aeadf807a10036a87bf2903123250152 (patch) | |
| tree | e99e3a65b8caeabc673aa30e514c37a81168fdb5 /src/libstd/rt/mod.rs | |
| parent | 053b38e7e1cba8f7bb649a5fc8d82b0448d33c55 (diff) | |
| download | rust-ea633b42aeadf807a10036a87bf2903123250152.tar.gz rust-ea633b42aeadf807a10036a87bf2903123250152.zip | |
core::rt: deny(unused_imports, unused_mut, unused_variable)
Diffstat (limited to 'src/libstd/rt/mod.rs')
| -rw-r--r-- | src/libstd/rt/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index 23dc7578002..caf3e15e535 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -55,6 +55,9 @@ Several modules in `core` are clients of `rt`: */ #[doc(hidden)]; +#[deny(unused_imports)]; +#[deny(unused_mut)]; +#[deny(unused_variable)]; use ptr::Ptr; @@ -228,8 +231,6 @@ pub fn context() -> RuntimeContext { fn test_context() { use unstable::run_in_bare_thread; use self::sched::{Scheduler, Coroutine}; - use rt::uv::uvio::UvEventLoop; - use cell::Cell; use rt::local::Local; use rt::test::new_test_uv_sched; |
