@@ -26,19 +26,19 @@ pub fn check_crate<'hir>(hir_map: &hir::map::Map<'hir>) {
2626 }
2727}
2828
29- struct HirIdValidator < ' a , ' hir : ' a > {
29+ struct HirIdValidator < ' a , ' hir > {
3030 hir_map : & ' a hir:: map:: Map < ' hir > ,
3131 owner_def_index : Option < DefIndex > ,
3232 hir_ids_seen : FxHashSet < ItemLocalId > ,
3333 errors : & ' a Lock < Vec < String > > ,
3434}
3535
36- struct OuterVisitor < ' a , ' hir : ' a > {
36+ struct OuterVisitor < ' a , ' hir > {
3737 hir_map : & ' a hir:: map:: Map < ' hir > ,
3838 errors : & ' a Lock < Vec < String > > ,
3939}
4040
41- impl < ' a , ' hir : ' a > OuterVisitor < ' a , ' hir > {
41+ impl < ' a , ' hir > OuterVisitor < ' a , ' hir > {
4242 fn new_inner_visitor ( & self ,
4343 hir_map : & ' a hir:: map:: Map < ' hir > )
4444 -> HirIdValidator < ' a , ' hir > {
@@ -51,7 +51,7 @@ impl<'a, 'hir: 'a> OuterVisitor<'a, 'hir> {
5151 }
5252}
5353
54- impl < ' a , ' hir : ' a > ItemLikeVisitor < ' hir > for OuterVisitor < ' a , ' hir > {
54+ impl < ' a , ' hir > ItemLikeVisitor < ' hir > for OuterVisitor < ' a , ' hir > {
5555 fn visit_item ( & mut self , i : & ' hir hir:: Item ) {
5656 let mut inner_visitor = self . new_inner_visitor ( self . hir_map ) ;
5757 inner_visitor. check ( i. hir_id , |this| intravisit:: walk_item ( this, i) ) ;
@@ -68,7 +68,7 @@ impl<'a, 'hir: 'a> ItemLikeVisitor<'hir> for OuterVisitor<'a, 'hir> {
6868 }
6969}
7070
71- impl < ' a , ' hir : ' a > HirIdValidator < ' a , ' hir > {
71+ impl < ' a , ' hir > HirIdValidator < ' a , ' hir > {
7272 #[ cold]
7373 #[ inline( never) ]
7474 fn error ( & self , f : impl FnOnce ( ) -> String ) {
@@ -133,7 +133,7 @@ impl<'a, 'hir: 'a> HirIdValidator<'a, 'hir> {
133133 }
134134}
135135
136- impl < ' a , ' hir : ' a > intravisit:: Visitor < ' hir > for HirIdValidator < ' a , ' hir > {
136+ impl < ' a , ' hir > intravisit:: Visitor < ' hir > for HirIdValidator < ' a , ' hir > {
137137
138138 fn nested_visit_map < ' this > ( & ' this mut self )
139139 -> intravisit:: NestedVisitorMap < ' this , ' hir > {
0 commit comments