diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-12-25 16:54:30 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-12-25 18:39:54 +0530 |
| commit | 91440adbed5d68a3c9fb52cb0b88c192c771da43 (patch) | |
| tree | 6311a6825cd2644acdce111863a65a7be1a11199 /src/rustllvm/RustWrapper.cpp | |
| parent | 12f171b052c07d60760cabbc109d15188ce285ec (diff) | |
| parent | cb3826d9adcb185fbf438602e82ae99ff1878779 (diff) | |
| download | rust-91440adbed5d68a3c9fb52cb0b88c192c771da43.tar.gz rust-91440adbed5d68a3c9fb52cb0b88c192c771da43.zip | |
Rollup merge of #30513 - alexcrichton:assert-is-safe, r=aturon
Types like `&AssertRecoverSafe<T>` and `Rc<AssertRecoverSafe<T>>` were mistakenly not considered recover safe, but the point of the assertion wrapper is that it indeed is! This was caused by an interaction between the `RecoverSafe` and `NoUnsafeCell` marker traits, and this is updated by adding an impl of the `NoUnsafeCell` marker trait for `AssertRecoverSafe` to ensure that it never interacts with the other negative impls of `RecoverSafe`. cc #30510
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
