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

@@ -1078,7 +1078,6 @@ pub struct variant_arg {
pub enum variant_kind {
tuple_variant_kind(~[variant_arg]),
struct_variant_kind(@struct_def),
enum_variant_kind(enum_def)
}
#[auto_encode]
@@ -1086,7 +1085,6 @@ pub enum variant_kind {
#[deriving(Eq)]
pub struct enum_def {
variants: ~[variant],
common: Option<@struct_def>,
}
#[auto_encode]