box a bunch of large types
This commit is contained in:
@@ -805,8 +805,8 @@ trait UnusedDelimLint {
|
||||
fn check_item(&mut self, cx: &EarlyContext<'_>, item: &ast::Item) {
|
||||
use ast::ItemKind::*;
|
||||
|
||||
if let Const(ast::ConstItem { expr: Some(expr), .. })
|
||||
| Static(ast::Static { expr: Some(expr), .. }) = &item.kind
|
||||
if let Const(box ast::ConstItem { expr: Some(expr), .. })
|
||||
| Static(box ast::Static { expr: Some(expr), .. }) = &item.kind
|
||||
{
|
||||
self.check_unused_delims_expr(
|
||||
cx,
|
||||
|
||||
Reference in New Issue
Block a user