Remove unused span argument from visit_name.

This commit is contained in:
Nicholas Nethercote 2022-09-12 13:30:15 +10:00
parent f6005c6b89
commit 308153563b

View File

@ -1121,7 +1121,7 @@ pub struct ContainsName {
}
impl<'tcx> Visitor<'tcx> for ContainsName {
fn visit_name(&mut self, _: Span, name: Symbol) {
fn visit_name(&mut self, name: Symbol) {
if self.name == name {
self.result = true;
}