Skip to content

Commit 2c6dc88

Browse files
committed
Rework diagnostics for wrong number of generic args
1 parent 9e45a23 commit 2c6dc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/hir_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
744744
}
745745
for segment in path.segments {
746746
segment.ident.name.hash(&mut self.s);
747-
self.hash_generic_args(segment.generic_args().args);
747+
self.hash_generic_args(segment.args().args);
748748
}
749749
},
750750
QPath::TypeRelative(ref ty, ref segment) => {

0 commit comments

Comments
 (0)