diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2023-03-14 17:18:26 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2023-03-14 17:18:26 +0000 |
| commit | 9afffc5b61d34d09e8f677dbfca8f283fc7fa697 (patch) | |
| tree | ee86d32f7dd6e6762d7aacb99babb3f8d5d115bc /compiler/rustc_hir_pretty/src/lib.rs | |
| parent | 669e75163957f8f2408d515ce2da3516cb31f747 (diff) | |
| download | rust-9afffc5b61d34d09e8f677dbfca8f283fc7fa697.tar.gz rust-9afffc5b61d34d09e8f677dbfca8f283fc7fa697.zip | |
Remove box expressions from HIR
Diffstat (limited to 'compiler/rustc_hir_pretty/src/lib.rs')
| -rw-r--r-- | compiler/rustc_hir_pretty/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_hir_pretty/src/lib.rs b/compiler/rustc_hir_pretty/src/lib.rs index d715b03e40e..63ea6c90477 100644 --- a/compiler/rustc_hir_pretty/src/lib.rs +++ b/compiler/rustc_hir_pretty/src/lib.rs @@ -1366,10 +1366,6 @@ impl<'a> State<'a> { self.ibox(INDENT_UNIT); self.ann.pre(self, AnnNode::Expr(expr)); match expr.kind { - hir::ExprKind::Box(expr) => { - self.word_space("Box::new"); - self.print_call_post(std::slice::from_ref(expr)); - } hir::ExprKind::Array(exprs) => { self.print_expr_vec(exprs); } |
