diff options
author | Dylan MacKenzie <[email protected]> | 2019-08-23 22:07:32 +0100 |
---|---|---|
committer | Dylan MacKenzie <[email protected]> | 2019-08-24 00:07:11 +0100 |
commit | 1e991f2eaf3f6a69db3622122f0617e7937a1439 (patch) | |
tree | 3d8c28952553fa72d9a1a05652c906ed4da6caeb /crates | |
parent | ab51f57e1df39554f3443d18d2a49d6ecd881b86 (diff) |
Convert `BoxPat` to `Missing` in HIR
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/expr.rs | 1 |
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 | }; |