@@ -217,7 +217,7 @@ pub type TaskOpts = {
217
217
// sidestep that whole issue by making builders uncopyable and making
218
218
// the run function move them in.
219
219
220
- // FIXME (#2585 ): Replace the 'consumed' bit with move mode on self
220
+ // FIXME (#3724 ): Replace the 'consumed' bit with move mode on self
221
221
pub enum TaskBuilder = {
222
222
opts: TaskOpts ,
223
223
gen_body: fn @( v : fn ~( ) ) -> fn ~( ) ,
@@ -349,7 +349,7 @@ impl TaskBuilder {
349
349
* Fails if a future_result was already set for this task.
350
350
*/
351
351
fn future_result( blk : fn ( v : future:: Future < TaskResult > ) ) -> TaskBuilder {
352
- // FIXME (#1087, #1857 ): Once linked failure and notification are
352
+ // FIXME (#3725 ): Once linked failure and notification are
353
353
// handled in the library, I can imagine implementing this by just
354
354
// registering an arbitrary number of task::on_exit handlers and
355
355
// sending out messages.
@@ -758,8 +758,8 @@ pub unsafe fn atomically<U>(f: fn() -> U) -> U {
758
758
fn test_cant_dup_task_builder( ) {
759
759
let b = task( ) . unlinked( ) ;
760
760
do b. spawn { }
761
- // FIXME(#2585 ): For now, this is a -runtime- failure, because we haven't
762
- // got modes on self. When 2585 is fixed, this test should fail to compile
761
+ // FIXME(#3724 ): For now, this is a -runtime- failure, because we haven't
762
+ // got move mode on self. When 3724 is fixed, this test should fail to compile
763
763
// instead, and should go in tests/compile-fail.
764
764
do b. spawn { } // b should have been consumed by the previous call
765
765
}
0 commit comments