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
|
@ -990,8 +990,6 @@ fn mk_enum_ser_body(
|
|||
),
|
||||
ast::struct_variant_kind(*) =>
|
||||
fail!(~"struct variants unimplemented"),
|
||||
ast::enum_variant_kind(*) =>
|
||||
fail!(~"enum variants unimplemented"),
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1089,8 +1087,6 @@ fn mk_enum_deser_body(
|
|||
},
|
||||
ast::struct_variant_kind(*) =>
|
||||
fail!(~"struct variants unimplemented"),
|
||||
ast::enum_variant_kind(*) =>
|
||||
fail!(~"enum variants unimplemented")
|
||||
};
|
||||
|
||||
let pat = @ast::pat {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue