about summary refs log tree commit diff
path: root/src/test/run-pass/spawning-with-debug.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-11-21 23:36:52 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-11-26 08:25:27 -0800
commit749ee53c6d23ae1467568d6e0280a4f59e4e952b (patch)
tree8ff17ad29a91e3b5d625db08d2d7d9e039ed484a /src/test/run-pass/spawning-with-debug.rs
parent38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda (diff)
downloadrust-749ee53c6d23ae1467568d6e0280a4f59e4e952b.tar.gz
rust-749ee53c6d23ae1467568d6e0280a4f59e4e952b.zip
librustc: Make `||` lambdas not infer to `proc`s
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 f35c5ef022e..76975d15c1d 100644
--- a/src/test/run-pass/spawning-with-debug.rs
+++ b/src/test/run-pass/spawning-with-debug.rs
@@ -18,5 +18,5 @@ use std::task;
 fn main() {
     let mut t = task::task();
     t.sched_mode(task::SingleThreaded);
-    t.spawn(|| ());
+    t.spawn(proc() ());
 }