about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-21 11:13:15 +0000
committerbors <bors@rust-lang.org>2023-11-21 11:13:15 +0000
commit7bd385dc371a85219c4261f0cb5ba7c83b7e0c5e (patch)
treeec8be5637a44c220387c10eba3751652e8fcd151 /compiler/rustc_lint/src
parentc5af0610196bc39c44e54f1e08bd9149bdc66929 (diff)
parentc9143ea1d9bad9871e77476f523da9d013357158 (diff)
downloadrust-7bd385dc371a85219c4261f0cb5ba7c83b7e0c5e.tar.gz
rust-7bd385dc371a85219c4261f0cb5ba7c83b7e0c5e.zip
Auto merge of #117580 - compiler-errors:hash-stable-simplify-rustc_type_ir, r=jackh726
Add `HashStable_NoContext` to simplify `HashStable` implementations in `rustc_type_ir`

adds `derive(HashStable_NoContext)` which is a derived `HashStable` implementation that has no `HashStableContext` bound, and which adds `where` bounds for `HashStable` based off of *fields* and not generics.

This means we can `derive(HashStable_NoContext)` in more places in `rustc_type_ir` rather than having to hand-roll implementations.
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions