rust/src/libcore/tests
bors 6cad7542da 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.
2020-02-08 03:46:56 +00:00
..
fmt Auto merge of #66716 - derekdreery:debug_non_exhaustive, r=dtolnay 2020-01-17 00:20:48 +00:00
hash Format the world 2019-12-22 17:42:47 -05:00
num Tests for leading_trailing_ones 2020-01-12 14:50:00 -08:00
alloc.rs Add const_unchecked_layout test to libcore/tests 2019-05-14 09:41:50 +02:00
any.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
array.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
ascii.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
atomic.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
bool.rs Rename to then_some and then 2019-12-06 12:24:54 +00:00
cell.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
char.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
clone.rs Remove licenses 2018-12-25 21:08:33 -07:00
cmp.rs Format the world 2019-12-22 17:42:47 -05:00
intrinsics.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
iter.rs Auto merge of #68358 - matthewjasper:spec-fix, r=nikomatsakis 2020-02-08 03:46:56 +00:00
lib.rs Auto merge of #68708 - Mark-Simulacrum:stage0-step, r=pietroalbini 2020-02-04 14:16:18 +00:00
manually_drop.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
mem.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
nonzero.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
ops.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
option.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
pattern.rs x.py fmt after previous deignore 2019-12-24 17:38:22 -05:00
ptr.rs Format the world 2019-12-22 17:42:47 -05:00
result.rs Update test after renaming Result::as_deref 2020-01-11 03:26:09 +00:00
slice.rs Rollup merge of #67119 - RalfJung:miri-test-libstd, r=alexcrichton 2019-12-09 14:33:06 -08:00
str.rs Remove licenses 2018-12-25 21:08:33 -07:00
str_lossy.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
time.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
tuple.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00