From c00104f36a1dd6aad318d410ffa41b9ec531880a Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Fri, 20 Dec 2013 01:12:56 +1100 Subject: std: silence warnings when compiling test. --- src/libstd/task/mod.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libstd/task') diff --git a/src/libstd/task/mod.rs b/src/libstd/task/mod.rs index 0e56f42f5b9..3310dddc327 100644 --- a/src/libstd/task/mod.rs +++ b/src/libstd/task/mod.rs @@ -437,9 +437,6 @@ pub fn failing() -> bool { // !!! These tests are dangerous. If Something is buggy, they will hang, !!! // !!! instead of exiting cleanly. This might wedge the buildbots. !!! -#[cfg(test)] -fn block_forever() { let (po, _ch) = Chan::<()>::new(); po.recv(); } - #[test] fn test_unnamed_task() { use rt::test::run_in_uv_task; @@ -507,11 +504,6 @@ fn test_run_basic() { po.recv(); } -#[cfg(test)] -struct Wrapper { - f: Option> -} - #[test] fn test_add_wrapper() { let (po, ch) = Chan::new(); -- cgit 1.4.1-3-g733a5