@@ -9,8 +9,8 @@ use rustc_hir::intravisit::{
99use rustc_hir:: FnRetTy :: Return ;
1010use rustc_hir:: {
1111 BareFnTy , BodyId , FnDecl , GenericArg , GenericBound , GenericParam , GenericParamKind , Generics , Impl , ImplItem ,
12- ImplItemKind , Item , ItemKind , LangItem , Lifetime , LifetimeName , ParamName , PolyTraitRef , PredicateOrigin ,
13- TraitFn , TraitItem , TraitItemKind , Ty , TyKind , WherePredicate ,
12+ ImplItemKind , Item , ItemKind , LangItem , Lifetime , LifetimeName , ParamName , PolyTraitRef , PredicateOrigin , TraitFn ,
13+ TraitItem , TraitItemKind , Ty , TyKind , WherePredicate ,
1414} ;
1515use rustc_lint:: { LateContext , LateLintPass } ;
1616use rustc_middle:: hir:: nested_filter as middle_nested_filter;
@@ -461,7 +461,7 @@ impl<'a, 'tcx> Visitor<'tcx> for RefVisitor<'a, 'tcx> {
461461 sub_visitor. visit_fn_decl ( decl) ;
462462 self . nested_elision_site_lts . append ( & mut sub_visitor. all_lts ( ) ) ;
463463 } ,
464- TyKind :: TraitObject ( bounds, ref lt, _) => {
464+ TyKind :: TraitObject ( bounds, lt, _) => {
465465 if !lt. is_elided ( ) {
466466 self . unelided_trait_object_lifetime = true ;
467467 }
0 commit comments