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
|
@ -785,9 +785,6 @@ pub fn print_variant(s: @ps, v: ast::variant) {
|
|||
let generics = ast_util::empty_generics();
|
||||
print_struct(s, struct_def, &generics, v.node.name, v.span);
|
||||
}
|
||||
ast::enum_variant_kind(ref enum_definition) => {
|
||||
print_variants(s, (*enum_definition).variants, v.span);
|
||||
}
|
||||
}
|
||||
match v.node.disr_expr {
|
||||
Some(d) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue