about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-08 03:46:56 +0000
committerbors <bors@rust-lang.org>2020-02-08 03:46:56 +0000
commit6cad7542da2f10e2110f942de4db59716bacb3df (patch)
treec3344ccc601a6bbdebd9b69ee1a92e4e81cfceac /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent8498c5f5b02dbb4ed58a1eb4901b0b733342c35f (diff)
parenta81c59f9b84b6519785a4e0ae9234107d149f454 (diff)
downloadrust-6cad7542da2f10e2110f942de4db59716bacb3df.tar.gz
rust-6cad7542da2f10e2110f942de4db59716bacb3df.zip
Auto merge of #68358 - matthewjasper:spec-fix, r=nikomatsakis
Remove some unsound specializations

This removes the unsound and exploitable specializations in the standard library

* The `PartialEq` and `Hash` implementations for  `RangeInclusive` are changed to avoid specialization.
* The `PartialOrd` specialization for slices now specializes on a limited set of concrete types.
* Added some tests for the soundness problems.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions