diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:12:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:26:03 +1100 |
| commit | c00104f36a1dd6aad318d410ffa41b9ec531880a (patch) | |
| tree | 2e317d3960f021384faa3f8ae7f19a9eed1ac849 /src/libstd/task | |
| parent | b3cee6203457b98c030a8597f97b037a8d447f40 (diff) | |
| download | rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.tar.gz rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.zip | |
std: silence warnings when compiling test.
Diffstat (limited to 'src/libstd/task')
| -rw-r--r-- | src/libstd/task/mod.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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<Chan<()>> -} - #[test] fn test_add_wrapper() { let (po, ch) = Chan::new(); |
