about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-12 14:59:41 +0000
committerbors <bors@rust-lang.org>2023-01-12 14:59:41 +0000
commitdecaba97cc0e682a7b44b3f06f10ad1a8ebe9cba (patch)
treef615c652877b812edc5b772698da041c0e1475dd /compiler/rustc_codegen_llvm/src
parent7c01721434e8ca3aba8a1e0cfca259bdc7b98191 (diff)
parent920633258f237e3aed59adb1e9e900431962ab7a (diff)
downloadrust-decaba97cc0e682a7b44b3f06f10ad1a8ebe9cba.tar.gz
rust-decaba97cc0e682a7b44b3f06f10ad1a8ebe9cba.zip
Auto merge of #10184 - robertbastian:master, r=xFrednet
Allow implementing `Hash` with derived `PartialEq` (`derive_hash_xor_eq`

This is a common pattern and is totally allowed by the `Hash` trait.

Fixes #2627

changelog: Move: Renamed `derive_hash_xor_eq` to [`derived_hash_with_manual_eq`]
[#10184](https://github.com/rust-lang/rust-clippy/pull/10184)
changelog: Enhancement: [`derived_hash_with_manual_eq`]: Now allows `#[derive(PartialEq)]` with custom `Hash` implementations
[#10184](https://github.com/rust-lang/rust-clippy/pull/10184)
<!-- changelog_checked -->
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions