summary refs log tree commit diff
path: root/src/libstd/rt/mod.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-30 13:20:17 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-30 13:20:17 -0700
commitea633b42aeadf807a10036a87bf2903123250152 (patch)
treee99e3a65b8caeabc673aa30e514c37a81168fdb5 /src/libstd/rt/mod.rs
parent053b38e7e1cba8f7bb649a5fc8d82b0448d33c55 (diff)
downloadrust-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.rs5
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;