Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/expr_store/pretty.rs')
-rw-r--r--crates/hir-def/src/expr_store/pretty.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/hir-def/src/expr_store/pretty.rs b/crates/hir-def/src/expr_store/pretty.rs
index 67eb0814c7..1c70922467 100644
--- a/crates/hir-def/src/expr_store/pretty.rs
+++ b/crates/hir-def/src/expr_store/pretty.rs
@@ -727,10 +727,6 @@ impl Printer<'_> {
}
self.print_expr_in(prec, *expr);
}
- Expr::Box { expr } => {
- w!(self, "box ");
- self.print_expr_in(prec, *expr);
- }
Expr::UnaryOp { expr, op } => {
let op = match op {
ast::UnaryOp::Deref => "*",