diff options
Diffstat (limited to 'src/test/stdtest/task.rs')
| -rw-r--r-- | src/test/stdtest/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/stdtest/task.rs b/src/test/stdtest/task.rs index 31299e703be..3a08606f47e 100644 --- a/src/test/stdtest/task.rs +++ b/src/test/stdtest/task.rs @@ -70,7 +70,7 @@ fn test_join_convenient() { #[ignore] fn spawn_polymorphic() { // FIXME #1038: Can't spawn palymorphic functions - /*fn foo<send T>(x: T) { log(error, x); } + /*fn foo<T: send>(x: T) { log(error, x); } task::spawn(true, foo); task::spawn(42, foo);*/ |
