about summary refs log tree commit diff
path: root/src/test/run-pass/spawning-with-debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/spawning-with-debug.rs')
-rw-r--r--src/test/run-pass/spawning-with-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/spawning-with-debug.rs b/src/test/run-pass/spawning-with-debug.rs
index 264662d7d8b..0f12827e60e 100644
--- a/src/test/run-pass/spawning-with-debug.rs
+++ b/src/test/run-pass/spawning-with-debug.rs
@@ -17,5 +17,5 @@ use std::task::TaskBuilder;
 
 pub fn main() {
     let mut t = TaskBuilder::new();
-    t.spawn(proc() ());
+    t.spawn(move|| ());
 }