Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki
rename `ImplItemKind::TyAlias` to `ImplItemKind::Type` The naming of this variant seems inconsistent given that this is not really a "type alias", and the associated type variant for `TraitItemKind` is just called `Type`.
This commit is contained in:
commit
24424d0acb
27 changed files with 32 additions and 32 deletions
|
@ -2598,7 +2598,7 @@ impl<'tcx> TypeErrCtxt<'_, '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,
|
||||
..
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue