about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-30 22:04:51 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-02 10:39:12 -0700
commit4828d8f73f80b6966f460a129b43930c53bc2b38 (patch)
tree40ea9df3759e45c9911006d31a3edb017380ab0f /src
parent291c43af312457c33127cb962cbc6192c6eb8d3a (diff)
downloadrust-4828d8f73f80b6966f460a129b43930c53bc2b38.tar.gz
rust-4828d8f73f80b6966f460a129b43930c53bc2b38.zip
Remove unused procsrv::clone function from compiletest
Diffstat (limited to 'src')
-rw-r--r--src/test/compiletest/procsrv.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/compiletest/procsrv.rs b/src/test/compiletest/procsrv.rs
index 0cc1e34a1f0..79903643732 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));