Rename Target::Ty to Target::TyAlias

This commit is contained in:
varkor 2019-08-02 21:01:00 +01:00
parent 63659ca9f6
commit fd819d02d7

View File

@ -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",