diff options
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 33c0f2c46bb..2b6f94e6bf5 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1080,7 +1080,9 @@ pub struct StructDef { pub fields: Vec<StructField>, /* fields, not including ctor */ /* ID of the constructor. This is only used for tuple- or enum-like * structs. */ - pub ctor_id: Option<NodeId> + pub ctor_id: Option<NodeId>, + pub super_struct: Option<P<Ty>>, // Super struct, if specified. + pub is_virtual: bool, // True iff the struct may be inherited from. } /* |
