diff --git a/src/test/compiletest/procsrv.rs b/src/test/compiletest/procsrv.rs index 0cc1e34a1f0f..799036437328 100644 --- a/src/test/compiletest/procsrv.rs +++ b/src/test/compiletest/procsrv.rs @@ -45,13 +45,6 @@ fn mk() -> handle { fn from_chan(ch: &reqchan) -> handle { {task: option::none, chan: ch} } -fn clone(handle: &handle) -> handle { - - // Sharing tasks across tasks appears to be (yet another) recipe for - // disaster, so our handle clones will not get the task pointer. - {task: option::none, chan: task::clone_chan(handle.chan)} -} - fn close(handle: &handle) { task::send(handle.chan, stop); task::join(option::get(handle.task));