about summary refs log tree commit diff
path: root/src/test/run-pass/fn-bare-spawn.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-18 12:39:20 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-18 12:49:01 +0100
commitf6491bb42636f4c43f3cbb48fdb98ddd749e6e5d (patch)
treec22607ada38b85ce4fadda6cf89998f6684a4964 /src/test/run-pass/fn-bare-spawn.rs
parent8f8ebb550cf7e641d7dedd56e08efd4f0e15afab (diff)
Update stdlib, compiler, and tests to new kind system
This involved adding 'copy' to more generics than I hoped, but an
experiment with making it implicit showed that that way lies madness --
unless enforced, you will not remember to mark functions that don't
copy as not requiring copyable kind.

Issue #1177
Diffstat (limited to 'src/test/run-pass/fn-bare-spawn.rs')
-rw-r--r--src/test/run-pass/fn-bare-spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/fn-bare-spawn.rs b/src/test/run-pass/fn-bare-spawn.rs
index e0da008d75c..59a57b8597c 100644
--- a/src/test/run-pass/fn-bare-spawn.rs
+++ b/src/test/run-pass/fn-bare-spawn.rs
@@ -1,6 +1,6 @@
 // This is what the signature to spawn should look like with bare functions
 
-fn spawn<uniq T>(val: T, f: fn(T)) {
+fn spawn<send T>(val: T, f: fn(T)) {
     f(val);
 }