]> git.lizzy.rs Git - rust.git/commitdiff
add implicit ctx
authorNiko Matsakis <niko@alum.mit.edu>
Sun, 23 Oct 2011 14:21:40 +0000 (07:21 -0700)
committerBrian Anderson <banderson@mozilla.com>
Mon, 24 Oct 2011 23:06:18 +0000 (16:06 -0700)
src/test/run-pass/issue-506.rs

index ded303995bec76e9f419b468aed62a4dee429a57..36a59ce63dc878dd10e9146a1326234528e72ee6 100644 (file)
@@ -9,6 +9,6 @@
     fn task_yield();
 }
 
-fn yield_wrap() { rustrt::task_yield(); }
+fn yield_wrap(&&_arg: ()) { rustrt::task_yield(); }
 
 fn main() { task::spawn((), yield_wrap); }