Convert BoxPat to Missing in HIR

This commit is contained in:
Dylan MacKenzie 2019-08-23 14:07:32 -07:00
parent ab51f57e1d
commit 1e991f2eaf

View File

@ -1020,6 +1020,7 @@ fn collect_pat(&mut self, pat: ast::Pat) -> PatId {
}
// FIXME: implement
ast::Pat::BoxPat(_) => Pat::Missing,
ast::Pat::LiteralPat(_) => Pat::Missing,
ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing,
};