Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer/expr.rs')
-rw-r--r--crates/hir-ty/src/infer/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir-ty/src/infer/expr.rs b/crates/hir-ty/src/infer/expr.rs
index b1e983f274..3ccf7e5cc8 100644
--- a/crates/hir-ty/src/infer/expr.rs
+++ b/crates/hir-ty/src/infer/expr.rs
@@ -194,6 +194,7 @@ impl<'db> InferenceContext<'_, 'db> {
| Pat::Path(_)
| Pat::Tuple { .. }
| Pat::Box { .. }
+ | Pat::Deref { .. }
| Pat::Ref { .. }
| Pat::Lit(_)
| Pat::Range { .. }