about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-12-25 16:54:30 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-12-25 18:39:54 +0530
commit91440adbed5d68a3c9fb52cb0b88c192c771da43 (patch)
tree6311a6825cd2644acdce111863a65a7be1a11199 /src/rustllvm/RustWrapper.cpp
parent12f171b052c07d60760cabbc109d15188ce285ec (diff)
parentcb3826d9adcb185fbf438602e82ae99ff1878779 (diff)
downloadrust-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