about summary refs log tree commit diff
path: root/src/test/stdtest/task.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-01-06 12:06:35 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-01-06 22:40:31 -0800
commit8506241f3a0dce3f0d24764a3ce3d16f99bcb809 (patch)
tree70d453fea82f951f06184de75d45f2ada8536e4b /src/test/stdtest/task.rs
parent8e89df69de47a4f944f5c3fc249a88c5934864b2 (diff)
downloadrust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.tar.gz
rust-8506241f3a0dce3f0d24764a3ce3d16f99bcb809.zip
fix how we walk functions to match new closure fmt
Diffstat (limited to 'src/test/stdtest/task.rs')
-rw-r--r--src/test/stdtest/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/stdtest/task.rs b/src/test/stdtest/task.rs
index 7945aaed744..d1408d183d5 100644
--- a/src/test/stdtest/task.rs
+++ b/src/test/stdtest/task.rs
@@ -53,7 +53,7 @@ fn test_join_chan_fail() {
 
 #[test]
 fn spawn_polymorphic() {
-    fn foo<send T>(x: T) { log(error, x); }
+    fn foo<T:send>(x: T) { log(error, x); }
     task::spawn {|| foo(true);};
     task::spawn {|| foo(42);};
 }