diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2013-06-10 18:18:04 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2013-06-10 18:18:04 -0400 |
| commit | 8081aea3b86d9e25746ff03acabe53c3644b600c (patch) | |
| tree | bd703fd655cd002528a0d6da6dbd5968b9bc1936 /src/libstd/task | |
| parent | d25fae0e10d92d7329211170a5b38b104a5093f0 (diff) | |
| download | rust-8081aea3b86d9e25746ff03acabe53c3644b600c.tar.gz rust-8081aea3b86d9e25746ff03acabe53c3644b600c.zip | |
Tag a bunch of destructors that need mutable self with FIXME for #4330. Close #4943.
Diffstat (limited to 'src/libstd/task')
| -rw-r--r-- | src/libstd/task/spawn.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs index 87e9296657f..bc409e06633 100644 --- a/src/libstd/task/spawn.rs +++ b/src/libstd/task/spawn.rs @@ -323,6 +323,7 @@ impl Drop for TCB { // Runs on task exit. fn finalize(&self) { unsafe { + // FIXME(#4330) Need self by value to get mutability. let this: &mut TCB = transmute(self); // If we are failing, the whole taskgroup needs to die. |
