@@ -559,7 +559,7 @@ pub enum MetaItemKind {
559
559
#[ derive( Clone , Encodable , Decodable , Debug ) ]
560
560
pub struct Block {
561
561
/// The statements in the block.
562
- pub stmts : Vec < Stmt > ,
562
+ pub stmts : Box < [ Stmt ] > ,
563
563
pub id : NodeId ,
564
564
/// Distinguishes between `unsafe { ... }` and `{ ... }`.
565
565
pub rules : BlockCheckMode ,
@@ -2440,7 +2440,7 @@ pub struct ForeignMod {
2440
2440
2441
2441
#[ derive( Clone , Encodable , Decodable , Debug ) ]
2442
2442
pub struct EnumDef {
2443
- pub variants : Vec < Variant > ,
2443
+ pub variants : Box < [ Variant ] > ,
2444
2444
}
2445
2445
/// Enum variant.
2446
2446
#[ derive( Clone , Encodable , Decodable , Debug ) ]
@@ -3039,7 +3039,7 @@ mod size_asserts {
3039
3039
static_assert_size ! ( AssocItem , 104 ) ;
3040
3040
static_assert_size ! ( AssocItemKind , 32 ) ;
3041
3041
static_assert_size ! ( Attribute , 32 ) ;
3042
- static_assert_size ! ( Block , 48 ) ;
3042
+ static_assert_size ! ( Block , 40 ) ;
3043
3043
static_assert_size ! ( Expr , 104 ) ;
3044
3044
static_assert_size ! ( ExprKind , 72 ) ;
3045
3045
static_assert_size ! ( Fn , 192 ) ;
0 commit comments