libsyntax: Remove newtype enums from libsyntax. rs=deenum

This commit is contained in:
Patrick Walton 2013-03-07 18:04:21 -08:00
parent dc4869945c
commit 7538450b8d
6 changed files with 14 additions and 40 deletions

View file

@ -3775,7 +3775,7 @@ pub impl Parser {
enum");
}
enum_def(ast::enum_def_ { variants: variants, common: common_fields })
ast::enum_def { variants: variants, common: common_fields }
}
fn parse_item_enum(&self) -> item_info {
@ -3801,9 +3801,7 @@ pub impl Parser {
return (
id,
item_enum(
enum_def(
ast::enum_def_ { variants: ~[variant], common: None }
),
ast::enum_def { variants: ~[variant], common: None },
generics),
None
);