about summary refs log tree commit diff
path: root/src/test/bench/task-perf-alloc-unwind.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/task-perf-alloc-unwind.rs')
-rw-r--r--src/test/bench/task-perf-alloc-unwind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/task-perf-alloc-unwind.rs b/src/test/bench/task-perf-alloc-unwind.rs
index 77078b2c68d..8bcf30b4859 100644
--- a/src/test/bench/task-perf-alloc-unwind.rs
+++ b/src/test/bench/task-perf-alloc-unwind.rs
@@ -36,7 +36,7 @@ fn main() {
 fn run(repeat: int, depth: int) {
     for _ in range(0, repeat) {
         let dur = Duration::span(|| {
-            task::try(proc() {
+            task::try(move|| {
                 recurse_or_panic(depth, None)
             });
         });