1
Fork 0

ImplItemKind::TyAlias => ImplItemKind::Type

This commit is contained in:
Michael Goulet 2022-10-09 07:09:57 +00:00
parent 28eda9b18a
commit 70f3c79c50
27 changed files with 32 additions and 32 deletions

View file

@ -213,7 +213,7 @@ pub(super) fn generics_of(tcx: TyCtxt<'_>, def_id: DefId) -> ty::Generics {
Node::TraitItem(item) if matches!(item.kind, TraitItemKind::Type(..)) => {
(None, Defaults::Deny)
}
Node::ImplItem(item) if matches!(item.kind, ImplItemKind::TyAlias(..)) => {
Node::ImplItem(item) if matches!(item.kind, ImplItemKind::Type(..)) => {
(None, Defaults::Deny)
}