Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer/closure/analysis.rs')
-rw-r--r--crates/hir-ty/src/infer/closure/analysis.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir-ty/src/infer/closure/analysis.rs b/crates/hir-ty/src/infer/closure/analysis.rs
index 5ea43bc03c..9dce343cae 100644
--- a/crates/hir-ty/src/infer/closure/analysis.rs
+++ b/crates/hir-ty/src/infer/closure/analysis.rs
@@ -35,8 +35,8 @@ use std::{iter, mem};
use hir_def::{
expr_store::ExpressionStore,
hir::{
- BindingAnnotation, BindingId, CaptureBy, CoroutineSource, Expr, ExprId, ExprOrPatId, Pat,
- PatId, Statement,
+ BindingAnnotation, BindingId, CaptureBy, CoroutineSource, Expr, ExprId, ExprOrPatIdPacked,
+ Pat, PatId, Statement,
},
resolver::ValueNs,
};
@@ -1461,7 +1461,7 @@ fn determine_capture_info(capture_info_a: &mut CaptureInfo, capture_info_b: &mut
fn determine_capture_sources(
capture_info_a: &mut CaptureInfo,
capture_info_b: &mut CaptureInfo,
- dedup_sources_scratch: &mut FxHashMap<ExprOrPatId, CaptureSourceStack>,
+ dedup_sources_scratch: &mut FxHashMap<ExprOrPatIdPacked, CaptureSourceStack>,
) -> SmallVec<[CaptureSourceStack; 2]> {
dedup_sources_scratch.clear();
dedup_sources_scratch.extend(