ImplItemKind::TyAlias => ImplItemKind::Type
This commit is contained in:
parent
28eda9b18a
commit
70f3c79c50
27 changed files with 32 additions and 32 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue