remove unneeded visit_ty methods
This commit is contained in:
parent
bc837fdadf
commit
8402793774
1 changed files with 0 additions and 9 deletions
|
|
@ -698,10 +698,6 @@ impl Visitor<()> for NewNameFinderContext {
|
|||
}
|
||||
}
|
||||
|
||||
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
|
||||
visit::walk_ty(self, typ, ())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// return a visitor that extracts the pat_ident paths
|
||||
|
|
@ -1051,11 +1047,6 @@ mod test {
|
|||
_ => visit::walk_expr(self,expr,())
|
||||
}
|
||||
}
|
||||
|
||||
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
|
||||
visit::walk_ty(self, typ, ())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// return a visitor that extracts the paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue