We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c939c57 commit 56f315aCopy full SHA for 56f315a
clippy_lints/src/loops/unused_enumerate_index.rs
@@ -14,7 +14,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>, arg: &'tcx
14
return;
15
};
16
17
- let ExprKind::MethodCall(method, self_arg, [], _) = arg.kind else {
+ let ExprKind::MethodCall(_method, self_arg, [], _) = arg.kind else {
18
19
20
0 commit comments