diff options
| author | bors <bors@rust-lang.org> | 2019-12-10 06:52:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-10 06:52:45 +0000 |
| commit | 883b6aacba85b524a194577a24a47f115106ecc8 (patch) | |
| tree | f612108193f92950225c24be00eb89075f42fb84 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 975e83a32ad8c2c894391711d227786614d61a50 (diff) | |
| parent | 61d9c001465f14be10b519fbb3030f5cebe22199 (diff) | |
| download | rust-883b6aacba85b524a194577a24a47f115106ecc8.tar.gz rust-883b6aacba85b524a194577a24a47f115106ecc8.zip | |
Auto merge of #67039 - xfix:manually-implement-pin-traits, r=nikomatsakis
Use deref target in Pin trait implementations Using deref target instead of pointer itself avoids providing access to `&Rc<T>` for malicious implementations, which would allow calling `Rc::get_mut`. This is a breaking change necessary due to unsoundness, however the impact of it should be minimal. This only fixes the issue with malicious `PartialEq` implementations, other `Pin` soundness issues are still here. See <https://internals.rust-lang.org/t/unsoundness-in-pin/11311/73> for more details.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
