fix build error
This commit is contained in:
parent
69161c6327
commit
52d35dca6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue