Remove box expressions from HIR

This commit is contained in:
clubby789 2023-03-14 17:18:26 +00:00
parent 491f63214a
commit f2eddc5924
13 changed files with 7 additions and 27 deletions

View file

@ -395,11 +395,6 @@ impl<'a, 'tcx> PrintVisitor<'a, 'tcx> {
}
self.expr(field!(let_expr.init));
},
ExprKind::Box(inner) => {
bind!(self, inner);
kind!("Box({inner})");
self.expr(inner);
},
ExprKind::Array(elements) => {
bind!(self, elements);
kind!("Array({elements})");