about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-01-26 19:30:54 +0000
committerbors <bors@rust-lang.org>2016-01-26 19:30:54 +0000
commita9e139b66c786423334c5f09f71ec8b0492742f8 (patch)
tree84a6869bd088ce4dae61788c10fe1f68bb11c9e1 /src/rustllvm/RustWrapper.cpp
parent13b5edab6323b676cae21df54bb58a5dc1339f38 (diff)
parent1fa0be2bc038e0575a601ba0273cd83d91d064f2 (diff)
downloadrust-a9e139b66c786423334c5f09f71ec8b0492742f8.tar.gz
rust-a9e139b66c786423334c5f09f71ec8b0492742f8.zip
Auto merge of #31081 - alexcrichton:stabilize-hasher, r=aturon
This commit implements the stabilization of the custom hasher support intended
for 1.7 but left out due to some last-minute questions that needed some
decisions. A summary of the actions done in this PR are:

Stable

* `std::hash::BuildHasher`
* `BuildHasher::Hasher`
* `BuildHasher::build_hasher`
* `std::hash::BuildHasherDefault`
* `HashMap::with_hasher`
* `HashMap::with_capacity_and_hasher`
* `HashSet::with_hasher`
* `HashSet::with_capacity_and_hasher`
* `std::collections::hash_map::RandomState`
* `RandomState::new`

Deprecated

* `std::collections::hash_state`
* `std::collections::hash_state::HashState` - this trait was also moved into
  `std::hash` with a reexport here to ensure that we can have a blanket impl to
  prevent immediate breakage on nightly. Note that this is unstable in both
  location.
* `HashMap::with_hash_state` - renamed
* `HashMap::with_capacity_and_hash_state` - renamed
* `HashSet::with_hash_state` - renamed
* `HashSet::with_capacity_and_hash_state` - renamed

Closes #27713
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions