Jacob Pratt
24223a62ae
Rollup merge of #154744 - nnethercote:rm-Clone-for-StableHashingContext, r=fee1-dead
...
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.
r? @fee1-dead
2026-04-05 20:51:06 -04:00
..
2026-01-23 21:04:27 +00:00
2026-04-03 10:27:30 +00:00
2026-02-08 18:21:47 +11:00
2026-04-01 17:52:43 +11:00
2026-04-03 11:08:10 +02:00
2026-04-01 17:01:59 +02:00
2026-03-26 15:20:10 +01:00
2026-04-03 20:47:38 +02:00
2026-04-05 10:05:18 +02:00
2026-03-25 16:18:33 +03:00
2026-03-31 20:16:57 +11:00
2026-04-03 10:37:42 +00:00
2026-04-03 10:37:42 +00:00
2026-04-05 20:51:06 -04:00
2026-04-03 22:36:53 +03:00
2026-04-03 15:34:33 +11:00
2026-03-18 15:07:31 +11:00
2026-04-03 11:08:11 +02:00
2026-03-01 10:47:29 +01:00
2026-04-03 21:26:10 +02:00
2026-04-03 11:08:11 +02:00
2026-04-03 20:47:37 +02:00
2026-04-05 20:51:06 -04:00
2026-04-03 20:47:37 +02:00
2026-04-03 15:34:33 +11:00
2026-03-11 06:25:23 +11:00
2026-04-05 20:51:06 -04:00
2026-04-05 13:38:16 +10:00
2026-03-30 22:17:27 -06:00
2026-03-31 20:16:57 +11:00
2026-04-02 11:21:02 +02:00
2026-04-03 11:08:11 +02:00
2026-03-04 06:10:42 +00:00
2026-04-03 21:48:20 +02:00
2026-04-05 20:51:06 -04:00
2026-04-03 10:37:42 +00:00
2026-02-24 12:03:17 +01:00
2026-04-03 13:44:12 +11:00
2026-04-03 09:16:26 +08:00
2026-04-05 20:51:06 -04:00
2026-04-03 11:08:10 +02:00
2026-03-12 12:31:40 +01:00
2026-03-31 20:44:11 +08:00
2026-04-03 15:34:33 +11:00
2026-04-02 22:13:58 +02:00
2026-04-01 17:01:59 +02:00
2026-02-18 19:39:51 +09:00
2026-04-03 11:08:10 +02:00
2026-03-17 10:19:23 +05:00
2026-03-23 12:14:51 +01:00
2026-04-03 10:27:30 +00:00
2026-03-16 23:25:36 +08:00
2026-04-03 13:44:12 +11:00
2026-04-05 20:51:06 -04:00
2026-03-17 01:52:28 +01:00
2026-02-13 09:25:39 +08:00
2026-04-05 20:51:06 -04:00
2026-04-05 20:51:06 -04:00
2026-03-27 15:36:28 +03:00
2026-04-04 17:19:09 +02:00
2026-02-10 10:22:05 -05:00
2026-04-05 20:51:06 -04:00
2026-01-19 16:08:54 +00:00
2026-03-24 18:25:21 +01:00
2026-04-03 10:27:30 +00:00
2026-04-03 15:34:33 +11:00