rustc: Translate tuple struct constructors
This commit is contained in:
parent
ce23a99925
commit
599b4208fb
13 changed files with 193 additions and 49 deletions
|
@ -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>
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue