diff options
Diffstat (limited to 'crates/ra_hir_def/src/body')
-rw-r--r-- | crates/ra_hir_def/src/body/lower.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs index 28c570c76..8d4b8b0f0 100644 --- a/crates/ra_hir_def/src/body/lower.rs +++ b/crates/ra_hir_def/src/body/lower.rs | |||
@@ -672,8 +672,7 @@ impl ExprCollector<'_> { | |||
672 | } | 672 | } |
673 | 673 | ||
674 | // FIXME: implement | 674 | // FIXME: implement |
675 | ast::Pat::BoxPat(_) => Pat::Missing, | 675 | ast::Pat::BoxPat(_) | ast::Pat::RangePat(_) | ast::Pat::MacroPat(_) => Pat::Missing, |
676 | ast::Pat::RangePat(_) => Pat::Missing, | ||
677 | }; | 676 | }; |
678 | let ptr = AstPtr::new(&pat); | 677 | let ptr = AstPtr::new(&pat); |
679 | self.alloc_pat(pattern, Either::Left(ptr)) | 678 | self.alloc_pat(pattern, Either::Left(ptr)) |