Rename ItemKind::Ty to ItemKind::TyAlias
This commit is contained in:
parent
460072ebee
commit
8aa45c65d8
31 changed files with 52 additions and 52 deletions
|
|
@ -2345,7 +2345,7 @@ pub enum ItemKind {
|
|||
/// A type alias (`type` or `pub type`).
|
||||
///
|
||||
/// E.g., `type Foo = Bar<u8>;`.
|
||||
Ty(P<Ty>, Generics),
|
||||
TyAlias(P<Ty>, Generics),
|
||||
/// An opaque `impl Trait` type alias.
|
||||
///
|
||||
/// E.g., `type Foo = impl Bar + Boo;`.
|
||||
|
|
@ -2402,7 +2402,7 @@ impl ItemKind {
|
|||
ItemKind::Mod(..) => "module",
|
||||
ItemKind::ForeignMod(..) => "foreign module",
|
||||
ItemKind::GlobalAsm(..) => "global asm",
|
||||
ItemKind::Ty(..) => "type alias",
|
||||
ItemKind::TyAlias(..) => "type alias",
|
||||
ItemKind::OpaqueTy(..) => "opaque type",
|
||||
ItemKind::Enum(..) => "enum",
|
||||
ItemKind::Struct(..) => "struct",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue