1
Fork 0

librustc: Remove common fields and nested enums from the language

This commit is contained in:
Patrick Walton 2013-03-28 11:29:21 -07:00
parent 09dc38eda5
commit 0a002d79b4
19 changed files with 36 additions and 159 deletions

View file

@ -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 {