Convert BoxPat
to Missing
in HIR
This commit is contained in:
parent
ab51f57e1d
commit
1e991f2eaf
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user