about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index ad7d0d22f81..077e547e052 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -4444,7 +4444,7 @@ impl<'a> Parser<'a> {
     }
 
     fn parse_trait_item_assoc_ty(&mut self, preceding_attrs: Vec<Attribute>)
-        -> PResult<'a, (Generics, TyParam)> {
+        -> PResult<'a, (ast::Generics, TyParam)> {
         let span = self.span;
         let ident = self.parse_ident()?;
         let mut generics = self.parse_generics()?;
@@ -4463,7 +4463,7 @@ impl<'a> Parser<'a> {
         };
         generics.where_clause = self.parse_where_clause()?;
 
-        Ok((Generics, TyParam {
+        Ok((generics, TyParam {
             attrs: preceding_attrs.into(),
             ident,
             id: ast::DUMMY_NODE_ID,