Skip to content

Commit 52d35dc

Browse files
committed
fix build error
1 parent 69161c6 commit 52d35dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/only_used_in_recursion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ impl<'tcx> SideEffectVisit<'tcx> {
502502
if let ExprKind::Path(QPath::TypeRelative(ty, segment)) = callee.kind;
503503
if segment.ident == self.fn_ident;
504504
if let TyKind::Path(QPath::Resolved(_, path)) = ty.kind;
505-
if let Res::SelfTy(..) = path.res;
505+
if let Res::SelfTy{ .. } = path.res;
506506
then {
507507
is_recursive = true;
508508
}

0 commit comments

Comments
 (0)