Skip to content

Commit 8402793

Browse files
committed
remove unneeded visit_ty methods
1 parent bc837fd commit 8402793

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,6 @@ impl Visitor<()> for NewNameFinderContext {
698698
}
699699
}
700700

701-
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
702-
visit::walk_ty(self, typ, ())
703-
}
704-
705701
}
706702

707703
// return a visitor that extracts the pat_ident paths
@@ -1051,11 +1047,6 @@ mod test {
10511047
_ => visit::walk_expr(self,expr,())
10521048
}
10531049
}
1054-
1055-
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
1056-
visit::walk_ty(self, typ, ())
1057-
}
1058-
10591050
}
10601051

10611052
// return a visitor that extracts the paths

0 commit comments

Comments
 (0)