Remove unused span argument from visit_name
.
This commit is contained in:
parent
f6005c6b89
commit
308153563b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user