Skip to content

Commit c751029

Browse files
committed
use glob import and allow enum_glob_use
1 parent 05c77b9 commit c751029

File tree

1 file changed

+2
-39
lines changed

1 file changed

+2
-39
lines changed

clippy_lints/src/utils/ast_utils/ident_iter.rs

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,6 @@
1+
#![allow(clippy::enum_glob_use)]
12
use core::iter::{self, FusedIterator};
2-
use rustc_ast::{
3-
AssocItem,
4-
AssocItemKind,
5-
AttrKind,
6-
Attribute,
7-
Block,
8-
Expr,
9-
ExprKind,
10-
ForeignItem,
11-
ForeignItemKind,
12-
FnDecl,
13-
FnRetTy,
14-
Generics,
15-
GenericBound,
16-
GenericBounds,
17-
GenericParam,
18-
GenericParamKind,
19-
Item,
20-
ItemKind,
21-
Param,
22-
Pat,
23-
PatKind,
24-
Path,
25-
PolyTraitRef,
26-
MacCall,
27-
MacCallStmt,
28-
MutTy,
29-
Stmt,
30-
StmtKind,
31-
Local,
32-
Ty,
33-
TyKind,
34-
UseTree,
35-
UseTreeKind,
36-
VariantData,
37-
Visibility,
38-
VisibilityKind,
39-
WherePredicate,
40-
};
3+
use rustc_ast::*;
414
use rustc_ast::ptr::P;
425
use rustc_span::symbol::Ident;
436

0 commit comments

Comments
 (0)