Merge commit '3e3715c312' into clippy-subtree-update
This commit is contained in:
parent
4c11087e51
commit
5aa9d7ae7f
106 changed files with 2681 additions and 566 deletions
|
|
@ -257,10 +257,13 @@ fn is_default_method_on_current_ty<'tcx>(tcx: TyCtxt<'tcx>, qpath: QPath<'tcx>,
|
|||
}
|
||||
if matches!(
|
||||
ty.kind,
|
||||
TyKind::Path(QPath::Resolved(_, hir::Path {
|
||||
res: Res::SelfTyAlias { .. },
|
||||
..
|
||||
},))
|
||||
TyKind::Path(QPath::Resolved(
|
||||
_,
|
||||
hir::Path {
|
||||
res: Res::SelfTyAlias { .. },
|
||||
..
|
||||
},
|
||||
))
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue