about summary refs log tree commit diff
path: root/src/libsyntax/print
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/print
parent8aa45c65d897570696830ea0675fa2faa989c536 (diff)
downloadrust-63659ca9f6e8601165c07700dffb0d0754822e3c.tar.gz
rust-63659ca9f6e8601165c07700dffb0d0754822e3c.zip
Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index a6c2dd1d925..2ef8a919b9c 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -1579,7 +1579,7 @@ impl<'a> State<'a> {
                 self.nbsp();
                 self.print_block_with_attrs(body, &ii.attrs);
             }
-            ast::ImplItemKind::Type(ref ty) => {
+            ast::ImplItemKind::TyAlias(ref ty) => {
                 self.print_associated_type(ii.ident, None, Some(ty));
             }
             ast::ImplItemKind::OpaqueTy(ref bounds) => {