Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/mir/lower/pattern_matching.rs')
-rw-r--r--crates/hir-ty/src/mir/lower/pattern_matching.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir-ty/src/mir/lower/pattern_matching.rs b/crates/hir-ty/src/mir/lower/pattern_matching.rs
index 03c608f4b2..e7fa036f23 100644
--- a/crates/hir-ty/src/mir/lower/pattern_matching.rs
+++ b/crates/hir-ty/src/mir/lower/pattern_matching.rs
@@ -504,6 +504,7 @@ impl<'db> MirLowerCtx<'_, 'db> {
(current, current_else)
}
Pat::Box { .. } => not_supported!("box pattern"),
+ Pat::Deref { .. } => not_supported!("deref pattern"),
Pat::ConstBlock(_) => not_supported!("const block pattern"),
})
}