@@ -3030,22 +3030,23 @@ pub type ForeignItem = Item<ForeignItemKind>;
30303030#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
30313031mod size_asserts {
30323032 use super :: * ;
3033+ use rustc_data_structures:: static_assert_size;
30333034 // These are in alphabetical order, which is easy to maintain.
3034- rustc_data_structures :: static_assert_size!( AssocItemKind , 72 ) ;
3035- rustc_data_structures :: static_assert_size!( Attribute , 152 ) ;
3036- rustc_data_structures :: static_assert_size!( Block , 48 ) ;
3037- rustc_data_structures :: static_assert_size!( Expr , 104 ) ;
3038- rustc_data_structures :: static_assert_size!( Fn , 192 ) ;
3039- rustc_data_structures :: static_assert_size!( ForeignItemKind , 72 ) ;
3040- rustc_data_structures :: static_assert_size!( GenericBound , 88 ) ;
3041- rustc_data_structures :: static_assert_size!( Generics , 72 ) ;
3042- rustc_data_structures :: static_assert_size!( Impl , 200 ) ;
3043- rustc_data_structures :: static_assert_size!( Item , 200 ) ;
3044- rustc_data_structures :: static_assert_size!( ItemKind , 112 ) ;
3045- rustc_data_structures :: static_assert_size!( Lit , 48 ) ;
3046- rustc_data_structures :: static_assert_size!( Pat , 120 ) ;
3047- rustc_data_structures :: static_assert_size!( Path , 40 ) ;
3048- rustc_data_structures :: static_assert_size!( PathSegment , 24 ) ;
3049- rustc_data_structures :: static_assert_size!( Stmt , 32 ) ;
3050- rustc_data_structures :: static_assert_size!( Ty , 96 ) ;
3035+ static_assert_size ! ( AssocItemKind , 72 ) ;
3036+ static_assert_size ! ( Attribute , 152 ) ;
3037+ static_assert_size ! ( Block , 48 ) ;
3038+ static_assert_size ! ( Expr , 104 ) ;
3039+ static_assert_size ! ( Fn , 192 ) ;
3040+ static_assert_size ! ( ForeignItemKind , 72 ) ;
3041+ static_assert_size ! ( GenericBound , 88 ) ;
3042+ static_assert_size ! ( Generics , 72 ) ;
3043+ static_assert_size ! ( Impl , 200 ) ;
3044+ static_assert_size ! ( Item , 200 ) ;
3045+ static_assert_size ! ( ItemKind , 112 ) ;
3046+ static_assert_size ! ( Lit , 48 ) ;
3047+ static_assert_size ! ( Pat , 120 ) ;
3048+ static_assert_size ! ( Path , 40 ) ;
3049+ static_assert_size ! ( PathSegment , 24 ) ;
3050+ static_assert_size ! ( Stmt , 32 ) ;
3051+ static_assert_size ! ( Ty , 96 ) ;
30513052}
0 commit comments