ImplItemKind::TyAlias => ImplItemKind::Type
This commit is contained in:
@@ -2570,7 +2570,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
|
||||
for h in self.tcx.hir().parent_iter(param.hir_id) {
|
||||
break 'origin match h.1 {
|
||||
Node::ImplItem(hir::ImplItem {
|
||||
kind: hir::ImplItemKind::TyAlias(..),
|
||||
kind: hir::ImplItemKind::Type(..),
|
||||
generics,
|
||||
..
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user