remove unneeded visit_ty methods
This commit is contained in:
parent
bc837fdadf
commit
8402793774
@ -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…
x
Reference in New Issue
Block a user