fn parse_item_enum(&mut self) -> PResult<'a, ItemInfo> {
        let id = try!(self.parse_ident());
        let mut generics = try!(self.parse_generics());
        generics.where_clause = try!(self.parse_where_clause());
        try!(self.expect(&token::OpenDelim(token::Brace)));

        let enum_definition = try!(self.parse_enum_def(&generics));
        Ok((id, ItemKind::Enum(enum_definition, generics), None))
    }
/// Parse an "enum" declaration
Parse an "enum" declaration
Parse an " enum " declaration
fn parse_item_enum(&mut self) -> PResult<'a, ItemInfo> {
        let id = try!(self.parse_ident());
        let mut generics = try!(self.parse_generics());
        generics.where_clause = try!(self.parse_where_clause());
        try!(self.expect(&token::OpenDelim(token::Brace)));
        let enum_definition = try!(self.parse_enum_def(&generics));
        Ok((id, ItemKind::Enum(enum_definition, generics), None))
    }
fn parse_item_enum ( & mut self ) -> PResult < ' a , ItemInfo > { let id = try ! ( self parse_ident ( ) ) ; let mut generics = try ! ( self parse_generics ( ) ) ; generics . where_clause = try ! ( self parse_where_clause ( ) ) ; try ! ( self expect ( token OpenDelim ( token Brace ) ) ) ; let enum_definition = try ! ( self parse_enum_def ( generics ) ) ; Ok ( ( id , ItemKind :: Enum ( enum_definition , generics ) , None ) ) }
Parse an "enum" declaration
Parse an " enum " declaration
&mut self
&mut self