diff options
| author | varkor <github@varkor.com> | 2019-08-02 11:02:08 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-08-04 20:13:37 +0100 |
| commit | 8aa45c65d897570696830ea0675fa2faa989c536 (patch) | |
| tree | 79e51869df46d4fc4b6e8ad253c46a0fe59e66df /src/libsyntax/ext | |
| parent | 460072ebeed5a2463109894592ac172b47cdfb74 (diff) | |
| download | rust-8aa45c65d897570696830ea0675fa2faa989c536.tar.gz rust-8aa45c65d897570696830ea0675fa2faa989c536.zip | |
Rename `ItemKind::Ty` to `ItemKind::TyAlias`
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index b4b15ba31b7..59e13fdc8f1 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -858,7 +858,7 @@ impl<'a> ExtCtxt<'a> { pub fn item_ty_poly(&self, span: Span, name: Ident, ty: P<ast::Ty>, generics: Generics) -> P<ast::Item> { - self.item(span, name, Vec::new(), ast::ItemKind::Ty(ty, generics)) + self.item(span, name, Vec::new(), ast::ItemKind::TyAlias(ty, generics)) } pub fn item_ty(&self, span: Span, name: Ident, ty: P<ast::Ty>) -> P<ast::Item> { |
