Skip to content

Commit a4c76a6

Browse files
committed
Recurse into impl Trait types inside impl Trait types
1 parent e872085 commit a4c76a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lifetime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ impl VisitMut for AddLifetimeToImplTrait {
7575
if let Some(punct) = ty.bounds.pairs_mut().next().unwrap().punct_mut() {
7676
punct.span = span;
7777
}
78+
visit_mut::visit_type_impl_trait_mut(self, ty);
7879
}
7980

8081
fn visit_expr_mut(&mut self, _e: &mut Expr) {

0 commit comments

Comments
 (0)