diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-12-21 09:39:45 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-12-21 14:00:17 -0800 |
| commit | cb3826d9adcb185fbf438602e82ae99ff1878779 (patch) | |
| tree | e76bf3242b13d29bf488a2acdeabd4df9172d91c /src/rustllvm/RustWrapper.cpp | |
| parent | e2834a20e7c5bbfb1502f582545153dc6b25a70c (diff) | |
| download | rust-cb3826d9adcb185fbf438602e82ae99ff1878779.tar.gz rust-cb3826d9adcb185fbf438602e82ae99ff1878779.zip | |
std: Ensure AssertRecoverSafe indeed is more often
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
