Files
rust/compiler/rustc_data_structures/src
Nicholas Nethercote ff1795fe49 Remove Clone impl for StableHashingContext.
`HashStable::hash_stable` takes a `&mut Hcx`. In contrast,
`ToStableHashKey::to_stable_hash_key` takes a `&Hcx`. But there are
some places where the latter calls the former, and due to the mismatch a
`clone` call is required to get a mutable `StableHashingContext`.

This commit changes `to_stable_hash_key` to instead take a `&mut Hcx`.
This eliminates the mismatch, the need for the clones, and the need for
the `Clone` impls.
2026-04-03 15:34:33 +11:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-07-29 08:26:52 +10:00
2025-06-12 15:26:06 +10:00
2025-07-01 10:55:49 -07:00
2026-01-23 23:16:15 +01:00
2026-02-22 21:01:27 +01:00
2025-05-15 19:55:43 +02:00
2024-10-12 15:17:03 +01:00
2025-01-11 11:34:01 +00:00