about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-08-02 20:59:07 +0100
committervarkor <github@varkor.com>2019-08-04 20:16:41 +0100
commit63659ca9f6e8601165c07700dffb0d0754822e3c (patch)
tree94a5fa3d191b0a4187122a2b9e77f7fc19160cb3 /src/libsyntax/parse
parent8aa45c65d897570696830ea0675fa2faa989c536 (diff)
downloadrust-63659ca9f6e8601165c07700dffb0d0754822e3c.tar.gz
rust-63659ca9f6e8601165c07700dffb0d0754822e3c.zip
Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 64acba9e40e..56fd679c962 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -5687,7 +5687,7 @@ impl<'a> Parser<'a> {
         let (name, node, generics) = if let Some(type_) = self.eat_type() {
             let (name, alias, generics) = type_?;
             let kind = match alias {
-                AliasKind::Weak(typ) => ast::ImplItemKind::Type(typ),
+                AliasKind::Weak(typ) => ast::ImplItemKind::TyAlias(typ),
                 AliasKind::OpaqueTy(bounds) => ast::ImplItemKind::OpaqueTy(bounds),
             };
             (name, kind, generics)