diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-10-17 03:43:22 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-10-17 16:50:07 -0400 |
| commit | 34ae5d70ac459be9cef362eb684e17f3e490b869 (patch) | |
| tree | 33ea7a928724f82a69eae4729d4c17d8df8d78f1 /src/rt/sync/rust_thread.cpp | |
| parent | 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a (diff) | |
| download | rust-34ae5d70ac459be9cef362eb684e17f3e490b869.tar.gz rust-34ae5d70ac459be9cef362eb684e17f3e490b869.zip | |
partially fix immediate rvalues
The code generation previously assumed a reference could not alter the value in a way the destructor would notice. This is an incorrect assumption for `&mut`, and is also incorrect for an `&` pointer to a non-`Freeze` type. Closes #7972
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
