Add DotDotPat to AST

This is modeled on `PlaceholderPat`.
This commit is contained in:
Dylan MacKenzie 2019-09-14 17:05:12 -07:00
parent 211171ffe6
commit 426112c97e
4 changed files with 40 additions and 2 deletions

View file

@ -573,6 +573,7 @@ where
}
// FIXME: implement
ast::Pat::DotDotPat(_) => Pat::Missing,
ast::Pat::BoxPat(_) => Pat::Missing,
ast::Pat::LiteralPat(_) => Pat::Missing,
ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing,