aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorDylan MacKenzie <[email protected]>2019-08-23 22:07:32 +0100
committerDylan MacKenzie <[email protected]>2019-08-24 00:07:11 +0100
commit1e991f2eaf3f6a69db3622122f0617e7937a1439 (patch)
tree3d8c28952553fa72d9a1a05652c906ed4da6caeb /crates
parentab51f57e1df39554f3443d18d2a49d6ecd881b86 (diff)
Convert `BoxPat` to `Missing` in HIR
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/expr.rs1
1 files changed, 1 insertions, 0 deletions
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
1020 } 1020 }
1021 1021
1022 // FIXME: implement 1022 // FIXME: implement
1023 ast::Pat::BoxPat(_) => Pat::Missing,
1023 ast::Pat::LiteralPat(_) => Pat::Missing, 1024 ast::Pat::LiteralPat(_) => Pat::Missing,
1024 ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing, 1025 ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing,
1025 }; 1026 };