Rename ast::Static
to ast::StaticItem
to match ast::ConstItem
This commit is contained in:
parent
4bebdd7104
commit
373807a95c
15 changed files with 68 additions and 68 deletions
|
@ -806,7 +806,7 @@ trait UnusedDelimLint {
|
|||
use ast::ItemKind::*;
|
||||
|
||||
if let Const(box ast::ConstItem { expr: Some(expr), .. })
|
||||
| Static(box ast::Static { expr: Some(expr), .. }) = &item.kind
|
||||
| Static(box ast::StaticItem { expr: Some(expr), .. }) = &item.kind
|
||||
{
|
||||
self.check_unused_delims_expr(
|
||||
cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue