about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-12 21:39:08 +0000
committerbors <bors@rust-lang.org>2017-09-12 21:39:08 +0000
commit2fdccaffe632e316c43224d0fae6fba903333aa3 (patch)
tree8c4b986ac2c0e210e943e60146ada289396b6a8a /src/rustllvm/RustWrapper.cpp
parentdd08c30703d052205a68ae34331eea464178cd99 (diff)
parent143e2dcd5ce3a7ba5953378cde0f2850850d6e9f (diff)
downloadrust-2fdccaffe632e316c43224d0fae6fba903333aa3.tar.gz
rust-2fdccaffe632e316c43224d0fae6fba903333aa3.zip
Auto merge of #44015 - kennytm:hasher, r=alexcrichton
 impl Hasher for {&mut Hasher, Box<Hasher>}

**Rationale:** The `Hash` trait has `fn hash<H: Hasher>(&self, state: &mut H)`, which can only accept a `Sized` hasher, even if the `Hasher` trait is object-safe. We cannot retroactively add the `?Sized` bound without breaking stability, thus implementing `Hasher` to a trait object reference is the next best solution.

**Warning:** These `impl` are insta-stable, and should need an FCP. I don't think a full RFC is necessary.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions