From fd819d02d7bf4f93d0b06849b9f0984a85281956 Mon Sep 17 00:00:00 2001 From: varkor Date: Fri, 2 Aug 2019 21:01:00 +0100 Subject: [PATCH] Rename `Target::Ty` to `Target::TyAlias` --- src/librustc/hir/check_attr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/hir/check_attr.rs b/src/librustc/hir/check_attr.rs index b6cd173fbd1..22124d4ee41 100644 --- a/src/librustc/hir/check_attr.rs +++ b/src/librustc/hir/check_attr.rs @@ -26,7 +26,7 @@ pub(crate) enum Target { Mod, ForeignMod, GlobalAsm, - Ty, + TyAlias, OpaqueTy, Enum, Struct, @@ -50,7 +50,7 @@ impl Display for Target { Target::Mod => "module", Target::ForeignMod => "foreign module", Target::GlobalAsm => "global asm", - Target::Ty => "type alias", + Target::TyAlias => "type alias", Target::OpaqueTy => "opaque type", Target::Enum => "enum", Target::Struct => "struct",