libsyntax: Remove newtype enums from libsyntax. rs=deenum
This commit is contained in:
parent
dc4869945c
commit
7538450b8d
6 changed files with 14 additions and 40 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue