@@ -155,7 +155,7 @@ pub struct DirtyCleanVisitor<'tcx> {
155
155
checked_attrs : FxHashSet < ast:: AttrId > ,
156
156
}
157
157
158
- impl DirtyCleanVisitor < ' tcx > {
158
+ impl < ' tcx > DirtyCleanVisitor < ' tcx > {
159
159
/// Possibly "deserialize" the attribute into a clean/dirty assertion
160
160
fn assertion_maybe ( & mut self , item_id : LocalDefId , attr : & Attribute ) -> Option < Assertion > {
161
161
if !attr. has_name ( sym:: rustc_clean) {
@@ -352,7 +352,7 @@ impl DirtyCleanVisitor<'tcx> {
352
352
}
353
353
}
354
354
355
- impl ItemLikeVisitor < ' tcx > for DirtyCleanVisitor < ' tcx > {
355
+ impl < ' tcx > ItemLikeVisitor < ' tcx > for DirtyCleanVisitor < ' tcx > {
356
356
fn visit_item ( & mut self , item : & ' tcx hir:: Item < ' tcx > ) {
357
357
self . check_item ( item. def_id , item. span ) ;
358
358
}
@@ -415,7 +415,7 @@ pub struct FindAllAttrs<'tcx> {
415
415
found_attrs : Vec < & ' tcx Attribute > ,
416
416
}
417
417
418
- impl FindAllAttrs < ' tcx > {
418
+ impl < ' tcx > FindAllAttrs < ' tcx > {
419
419
fn is_active_attr ( & mut self , attr : & Attribute ) -> bool {
420
420
if attr. has_name ( sym:: rustc_clean) && check_config ( self . tcx , attr) {
421
421
return true ;
@@ -434,7 +434,7 @@ impl FindAllAttrs<'tcx> {
434
434
}
435
435
}
436
436
437
- impl intravisit:: Visitor < ' tcx > for FindAllAttrs < ' tcx > {
437
+ impl < ' tcx > intravisit:: Visitor < ' tcx > for FindAllAttrs < ' tcx > {
438
438
type Map = Map < ' tcx > ;
439
439
440
440
fn nested_visit_map ( & mut self ) -> intravisit:: NestedVisitorMap < Self :: Map > {
0 commit comments