Skip to content

Commit 62f35fa

Browse files
committed
fix(upstream): hash context mutability
1 parent 7d7c522 commit 62f35fa

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/monomorphize_collector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,8 +1619,8 @@ pub fn collect_crate_mono_items(
16191619

16201620
// The set of MonoItems was created in an inherently indeterministic order because
16211621
// of parallelism. We sort it here to ensure that the output is deterministic.
1622-
let mono_items = tcx.with_stable_hashing_context(move |ref hcx| {
1623-
state.visited.into_inner().into_sorted(hcx, true)
1622+
let mono_items = tcx.with_stable_hashing_context(move |mut hcx| {
1623+
state.visited.into_inner().into_sorted(&mut hcx, true)
16241624
});
16251625

16261626
(mono_items, state.usage_map.into_inner())

0 commit comments

Comments
 (0)