@@ -100,10 +100,10 @@ use rustc_hir::hir_id::{HirIdMap, HirIdSet};
100100use rustc_hir:: intravisit:: { walk_expr, FnKind , Visitor } ;
101101use rustc_hir:: LangItem :: { OptionNone , OptionSome , ResultErr , ResultOk } ;
102102use rustc_hir:: {
103- self as hir, def, Arm , ArrayLen , BindingMode , Block , BlockCheckMode , Body , ByRef , Closure , Destination , Expr ,
104- ExprField , ExprKind , FnDecl , FnRetTy , GenericArgs , HirId , Impl , ImplItem , ImplItemKind , ImplItemRef , Item ,
105- ItemKind , LangItem , LetStmt , MatchSource , Mutability , Node , OwnerId , Param , Pat , PatKind , Path , PathSegment ,
106- PrimTy , QPath , Stmt , StmtKind , TraitItem , TraitItemKind , TraitItemRef , TraitRef , TyKind , UnOp ,
103+ self as hir, def, Arm , ArrayLen , BindingMode , Block , BlockCheckMode , Body , ByRef , Closure , ConstContext ,
104+ Destination , Expr , ExprField , ExprKind , FnDecl , FnRetTy , GenericArgs , HirId , Impl , ImplItem , ImplItemKind ,
105+ ImplItemRef , Item , ItemKind , LangItem , LetStmt , MatchSource , Mutability , Node , OwnerId , Param , Pat , PatKind , Path ,
106+ PathSegment , PrimTy , QPath , Stmt , StmtKind , TraitItem , TraitItemKind , TraitItemRef , TraitRef , TyKind , UnOp ,
107107} ;
108108use rustc_lexer:: { tokenize, TokenKind } ;
109109use rustc_lint:: { LateContext , Level , Lint , LintContext } ;
0 commit comments