From 1e991f2eaf3f6a69db3622122f0617e7937a1439 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Fri, 23 Aug 2019 14:07:32 -0700 Subject: Convert `BoxPat` to `Missing` in HIR --- crates/ra_hir/src/expr.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates') diff --git a/crates/ra_hir/src/expr.rs b/crates/ra_hir/src/expr.rs index 9e8584908..7cdc7555c 100644 --- a/crates/ra_hir/src/expr.rs +++ b/crates/ra_hir/src/expr.rs @@ -1020,6 +1020,7 @@ where } // FIXME: implement + ast::Pat::BoxPat(_) => Pat::Missing, ast::Pat::LiteralPat(_) => Pat::Missing, ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing, }; -- cgit v1.2.3