about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-19 19:19:47 +0100
committerGitHub <noreply@github.com>2022-01-19 19:19:47 +0100
commitdfbb6b246da3758911d5625a3b6ec4ecec9a01ab (patch)
tree727466e77c6132880b74be0980c0bb76685c4d3d /compiler/rustc_codegen_llvm/src
parent715cda2e81c769277e63c08a3a9966f8cdb6b3c5 (diff)
parent731bbae816e49cb404f402e8a5d392059e417ee5 (diff)
downloadrust-dfbb6b246da3758911d5625a3b6ec4ecec9a01ab.tar.gz
rust-dfbb6b246da3758911d5625a3b6ec4ecec9a01ab.zip
Rollup merge of #92630 - steffahn:lift_bounds_on_BuildHasherDefault, r=yaahc
Change PhantomData type for `BuildHasherDefault` (and more)

Changes `PhantomData<H>` to `PhantomData<fn() -> H>` for `BuildHasherDefault`. This preserves the covariance of `H`, while it lifts the currently inferred unnecessary bounds like [`H: Send` for `BuildHasherDefault<H>: Send`](https://doc.rust-lang.org/1.57.0/std/hash/struct.BuildHasherDefault.html#impl-Send), etc.

_Edit:_ Also does a similar change for `iter::Empty` and `future::Pending`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions