about summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/task-comm-3.rs')
-rw-r--r--src/test/run-pass/task-comm-3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/task-comm-3.rs b/src/test/run-pass/task-comm-3.rs
index eb48fa1812d..030b70924f6 100644
--- a/src/test/run-pass/task-comm-3.rs
+++ b/src/test/run-pass/task-comm-3.rs
@@ -48,7 +48,7 @@ fn test00() {
         results.push(builder.future_result());
         builder.spawn({
             let i = i;
-            || test00_start(&ch, i, number_of_messages)
+            proc() test00_start(&ch, i, number_of_messages)
         });
         i = i + 1;
     }