@@ -302,7 +302,7 @@ impl<'hir> Map<'hir> {
302302 ItemKind :: Fn ( ..) => DefKind :: Fn ,
303303 ItemKind :: Mod ( ..) => DefKind :: Mod ,
304304 ItemKind :: OpaqueTy ( ..) => DefKind :: OpaqueTy ,
305- ItemKind :: Ty ( ..) => DefKind :: TyAlias ,
305+ ItemKind :: TyAlias ( ..) => DefKind :: TyAlias ,
306306 ItemKind :: Enum ( ..) => DefKind :: Enum ,
307307 ItemKind :: Struct ( ..) => DefKind :: Struct ,
308308 ItemKind :: Union ( ..) => DefKind :: Union ,
@@ -333,7 +333,7 @@ impl<'hir> Map<'hir> {
333333 match item. node {
334334 ImplItemKind :: Const ( ..) => DefKind :: AssocConst ,
335335 ImplItemKind :: Method ( ..) => DefKind :: Method ,
336- ImplItemKind :: Type ( ..) => DefKind :: AssocTy ,
336+ ImplItemKind :: TyAlias ( ..) => DefKind :: AssocTy ,
337337 ImplItemKind :: OpaqueTy ( ..) => DefKind :: AssocOpaqueTy ,
338338 }
339339 }
@@ -576,7 +576,7 @@ impl<'hir> Map<'hir> {
576576 Node :: Item ( ref item) => {
577577 match item. node {
578578 ItemKind :: Fn ( _, _, ref generics, _) |
579- ItemKind :: Ty ( _, ref generics) |
579+ ItemKind :: TyAlias ( _, ref generics) |
580580 ItemKind :: Enum ( _, ref generics) |
581581 ItemKind :: Struct ( _, ref generics) |
582582 ItemKind :: Union ( _, ref generics) |
@@ -1269,7 +1269,7 @@ fn hir_id_to_string(map: &Map<'_>, id: HirId, include_id: bool) -> String {
12691269 ItemKind :: Mod ( ..) => "mod" ,
12701270 ItemKind :: ForeignMod ( ..) => "foreign mod" ,
12711271 ItemKind :: GlobalAsm ( ..) => "global asm" ,
1272- ItemKind :: Ty ( ..) => "ty" ,
1272+ ItemKind :: TyAlias ( ..) => "ty" ,
12731273 ItemKind :: OpaqueTy ( ..) => "opaque type" ,
12741274 ItemKind :: Enum ( ..) => "enum" ,
12751275 ItemKind :: Struct ( ..) => "struct" ,
@@ -1291,7 +1291,7 @@ fn hir_id_to_string(map: &Map<'_>, id: HirId, include_id: bool) -> String {
12911291 ImplItemKind :: Method ( ..) => {
12921292 format ! ( "method {} in {}{}" , ii. ident, path_str( ) , id_str)
12931293 }
1294- ImplItemKind :: Type ( _) => {
1294+ ImplItemKind :: TyAlias ( _) => {
12951295 format ! ( "assoc type {} in {}{}" , ii. ident, path_str( ) , id_str)
12961296 }
12971297 ImplItemKind :: OpaqueTy ( _) => {
0 commit comments