about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-08-02 21:01:00 +0100
committervarkor <github@varkor.com>2019-08-04 20:17:09 +0100
commitfd819d02d7bf4f93d0b06849b9f0984a85281956 (patch)
treee8978a646d1d346373967ca8b8e31d680af7f0f1
parent63659ca9f6e8601165c07700dffb0d0754822e3c (diff)
downloadrust-fd819d02d7bf4f93d0b06849b9f0984a85281956.tar.gz
rust-fd819d02d7bf4f93d0b06849b9f0984a85281956.zip
Rename `Target::Ty` to `Target::TyAlias`
-rw-r--r--src/librustc/hir/check_attr.rs4
1 files 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",