about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-12-26 13:54:33 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2019-12-26 13:55:17 -0500
commit3b92689f3d0c3b90fa01d9873cdf01543d51c000 (patch)
tree214d4c563b557f79aa115299ba8e94f29c55ec0d /src/test/ui/thinlto
parent3ac40b69c75929dac5115b6a49eb4f1ecc352416 (diff)
downloadrust-3b92689f3d0c3b90fa01d9873cdf01543d51c000.tar.gz
rust-3b92689f3d0c3b90fa01d9873cdf01543d51c000.zip
Relax bounds on HashMap to match hashbrown
No functional changes are made, and all APIs are moved to strictly less
restrictive bounds.

These APIs changed from the old bound listed to no trait bounds:

K: Hash + Eq
* new
* with_capacity

K: Eq + Hash, S: BuildHasher
* with_hasher
* with_capacity_and_hasher
* hasher

K: Eq + Hash + Debug -> K: Debug
S: BuildHasher -> S
<HashMap as Debug>

K: Eq + Hash -> K
S: BuildHasher + Default -> S: Default
<HashMap as Default>
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions