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 | f2eddc5924756bbef97e0a02f5120139ca74ecb6 (patch) | |
| tree | c20ac7b3514808d9bf73b6771245012b208f330b /clippy_lints/src/utils | |
| parent | 491f63214ad557f1617d11b05b1e2fb4666bba85 (diff) | |
| download | rust-f2eddc5924756bbef97e0a02f5120139ca74ecb6.tar.gz rust-f2eddc5924756bbef97e0a02f5120139ca74ecb6.zip | |
Remove box expressions from HIR
Diffstat (limited to 'clippy_lints/src/utils')
| -rw-r--r-- | clippy_lints/src/utils/author.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clippy_lints/src/utils/author.rs b/clippy_lints/src/utils/author.rs index f31c3fdb095..bc4adf1596d 100644 --- a/clippy_lints/src/utils/author.rs +++ b/clippy_lints/src/utils/author.rs @@ -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})"); |
