diff options
| author | toddaaro <github@opprobrio.us> | 2013-06-10 15:29:02 -0700 |
|---|---|---|
| committer | toddaaro <github@opprobrio.us> | 2013-06-10 15:29:02 -0700 |
| commit | d64d26cd39a86a40feb0db7a9147cc2ae5e82994 (patch) | |
| tree | 00cedc9e9b752fa99dfb552b73fa9359cd86b7ce /src/libstd/rt/sched.rs | |
| parent | d4de99aa6c53b0eb0d5be2ccfc62e2c89b2cd2df (diff) | |
| download | rust-d64d26cd39a86a40feb0db7a9147cc2ae5e82994.tar.gz rust-d64d26cd39a86a40feb0db7a9147cc2ae5e82994.zip | |
debugged a compiler ICE when merging local::borrow changes into the main io branch and modified the incoming new file lang.rs to be api-compatible
Diffstat (limited to 'src/libstd/rt/sched.rs')
| -rw-r--r-- | src/libstd/rt/sched.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs index df231f6d88a..d149ff6d773 100644 --- a/src/libstd/rt/sched.rs +++ b/src/libstd/rt/sched.rs @@ -683,7 +683,7 @@ mod test { assert_eq!(count, MAX); fn run_task(count_ptr: *mut int) { - do Local::borrow::<Scheduler> |sched| { + do Local::borrow::<Scheduler, ()> |sched| { let task = ~do Coroutine::new(&mut sched.stack_pool) { unsafe { *count_ptr = *count_ptr + 1; |
