@@ -155,7 +155,7 @@ pub struct DirtyCleanVisitor<'tcx> {
155155 checked_attrs : FxHashSet < ast:: AttrId > ,
156156}
157157
158- impl DirtyCleanVisitor < ' tcx > {
158+ impl < ' tcx > DirtyCleanVisitor < ' tcx > {
159159 /// Possibly "deserialize" the attribute into a clean/dirty assertion
160160 fn assertion_maybe ( & mut self , item_id : LocalDefId , attr : & Attribute ) -> Option < Assertion > {
161161 if !attr. has_name ( sym:: rustc_clean) {
@@ -352,7 +352,7 @@ impl DirtyCleanVisitor<'tcx> {
352352 }
353353}
354354
355- impl ItemLikeVisitor < ' tcx > for DirtyCleanVisitor < ' tcx > {
355+ impl < ' tcx > ItemLikeVisitor < ' tcx > for DirtyCleanVisitor < ' tcx > {
356356 fn visit_item ( & mut self , item : & ' tcx hir:: Item < ' tcx > ) {
357357 self . check_item ( item. def_id , item. span ) ;
358358 }
@@ -415,7 +415,7 @@ pub struct FindAllAttrs<'tcx> {
415415 found_attrs : Vec < & ' tcx Attribute > ,
416416}
417417
418- impl FindAllAttrs < ' tcx > {
418+ impl < ' tcx > FindAllAttrs < ' tcx > {
419419 fn is_active_attr ( & mut self , attr : & Attribute ) -> bool {
420420 if attr. has_name ( sym:: rustc_clean) && check_config ( self . tcx , attr) {
421421 return true ;
@@ -434,7 +434,7 @@ impl FindAllAttrs<'tcx> {
434434 }
435435}
436436
437- impl intravisit:: Visitor < ' tcx > for FindAllAttrs < ' tcx > {
437+ impl < ' tcx > intravisit:: Visitor < ' tcx > for FindAllAttrs < ' tcx > {
438438 type Map = Map < ' tcx > ;
439439
440440 fn nested_visit_map ( & mut self ) -> intravisit:: NestedVisitorMap < Self :: Map > {
0 commit comments