Merge commit '3e3715c312' into clippy-subtree-update

This commit is contained in:
Philipp Krones 2025-02-06 15:00:24 +01:00
parent 4c11087e51
commit 5aa9d7ae7f
106 changed files with 2681 additions and 566 deletions

View file

@ -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;
}