rustc: Translate tuple struct constructors

This commit is contained in:
Patrick Walton 2012-10-24 14:36:00 -07:00
parent ce23a99925
commit 599b4208fb
13 changed files with 193 additions and 49 deletions

View file

@ -1480,7 +1480,7 @@ type struct_def = {
dtor: Option<class_dtor>,
/* ID of the constructor. This is only used for tuple- or enum-like
* structs. */
ctor_id: node_id
ctor_id: Option<node_id>
};
/*