diff options
| author | varkor <github@varkor.com> | 2019-08-02 20:59:07 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-08-04 20:16:41 +0100 |
| commit | 63659ca9f6e8601165c07700dffb0d0754822e3c (patch) | |
| tree | 94a5fa3d191b0a4187122a2b9e77f7fc19160cb3 /src/libsyntax/parse | |
| parent | 8aa45c65d897570696830ea0675fa2faa989c536 (diff) | |
| download | rust-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.rs | 2 |
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) |
