librustc: Remove common fields and nested enums from the language
This commit is contained in:
parent
09dc38eda5
commit
0a002d79b4
19 changed files with 36 additions and 159 deletions
|
@ -238,7 +238,7 @@ impl to_type_decls for state {
|
|||
cx.item_enum_poly(
|
||||
name,
|
||||
self.span,
|
||||
ast::enum_def { variants: items_msg, common: None },
|
||||
ast::enum_def { variants: items_msg },
|
||||
cx.strip_bounds(&self.generics)
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue