diff options
author | Dylan MacKenzie <[email protected]> | 2019-09-15 01:05:12 +0100 |
---|---|---|
committer | Dylan MacKenzie <[email protected]> | 2019-09-15 01:08:22 +0100 |
commit | 426112c97e587dfdaa79bcec0d4a37bef3c6b474 (patch) | |
tree | 6c97a93330a26f587482b32d5a95c2a292f7972a /crates/ra_hir/src | |
parent | 211171ffe6a4e8cbf31b9513972e59a8b9bdc811 (diff) |
Add `DotDotPat` to AST
This is modeled on `PlaceholderPat`.
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/expr/lower.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/expr/lower.rs b/crates/ra_hir/src/expr/lower.rs index 2be6f5421..61535d24f 100644 --- a/crates/ra_hir/src/expr/lower.rs +++ b/crates/ra_hir/src/expr/lower.rs | |||
@@ -573,6 +573,7 @@ where | |||
573 | } | 573 | } |
574 | 574 | ||
575 | // FIXME: implement | 575 | // FIXME: implement |
576 | ast::Pat::DotDotPat(_) => Pat::Missing, | ||
576 | ast::Pat::BoxPat(_) => Pat::Missing, | 577 | ast::Pat::BoxPat(_) => Pat::Missing, |
577 | ast::Pat::LiteralPat(_) => Pat::Missing, | 578 | ast::Pat::LiteralPat(_) => Pat::Missing, |
578 | ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing, | 579 | ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing, |