Skip to content

Commit 3081535

Browse files
committed
Remove unused span argument from visit_name.
1 parent f6005c6 commit 3081535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ pub struct ContainsName {
11211121
}
11221122

11231123
impl<'tcx> Visitor<'tcx> for ContainsName {
1124-
fn visit_name(&mut self, _: Span, name: Symbol) {
1124+
fn visit_name(&mut self, name: Symbol) {
11251125
if self.name == name {
11261126
self.result = true;
11271127
}

0 commit comments

Comments
 (0)