fix build error
This commit is contained in:
parent
69161c6327
commit
52d35dca6a
@ -502,7 +502,7 @@ impl<'tcx> SideEffectVisit<'tcx> {
|
||||
if let ExprKind::Path(QPath::TypeRelative(ty, segment)) = callee.kind;
|
||||
if segment.ident == self.fn_ident;
|
||||
if let TyKind::Path(QPath::Resolved(_, path)) = ty.kind;
|
||||
if let Res::SelfTy(..) = path.res;
|
||||
if let Res::SelfTy{ .. } = path.res;
|
||||
then {
|
||||
is_recursive = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user