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 @@ where
}
// FIXME: implement
ast::Pat::BoxPat(_) => Pat::Missing,
ast::Pat::LiteralPat(_) => Pat::Missing,
ast::Pat::SlicePat(_) | ast::Pat::RangePat(_) => Pat::Missing,
};