Skip to content

Commit

Permalink
Rename Target::Ty to Target::TyAlias
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Aug 4, 2019
1 parent 63659ca commit fd819d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/hir/check_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub(crate) enum Target {
Mod,
ForeignMod,
GlobalAsm,
Ty,
TyAlias,
OpaqueTy,
Enum,
Struct,
Expand All @@ -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",
Expand Down

0 comments on commit fd819d0

Please sign in to comment.