rustc: Don't require that structs have constructors
This commit is contained in:
parent
695ab09899
commit
587b0edbbf
11 changed files with 165 additions and 109 deletions
|
|
@ -636,7 +636,8 @@ enum item_ {
|
|||
~[@trait_ref], /* traits this class implements */
|
||||
~[@class_member], /* methods, etc. */
|
||||
/* (not including ctor or dtor) */
|
||||
class_ctor,
|
||||
/* ctor is optional, and will soon go away */
|
||||
option<class_ctor>,
|
||||
/* dtor is optional */
|
||||
option<class_dtor>
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue