File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2663,6 +2663,7 @@ pub struct TraitKind(
2663
2663
pub GenericBounds ,
2664
2664
pub Vec < P < AssocItem > > ,
2665
2665
) ;
2666
+
2666
2667
#[ derive( Clone , Encodable , Decodable , Debug ) ]
2667
2668
pub struct TyAliasKind ( pub Defaultness , pub Generics , pub GenericBounds , pub Option < P < Ty > > ) ;
2668
2669
@@ -2753,6 +2754,9 @@ pub enum ItemKind {
2753
2754
MacroDef ( MacroDef ) ,
2754
2755
}
2755
2756
2757
+ #[ cfg( target_arch = "x86_64" ) ]
2758
+ rustc_data_structures:: static_assert_size!( ItemKind , 112 ) ;
2759
+
2756
2760
impl ItemKind {
2757
2761
pub fn article ( & self ) -> & str {
2758
2762
use ItemKind :: * ;
@@ -2824,6 +2828,9 @@ pub enum AssocItemKind {
2824
2828
MacCall ( MacCall ) ,
2825
2829
}
2826
2830
2831
+ #[ cfg( target_arch = "x86_64" ) ]
2832
+ rustc_data_structures:: static_assert_size!( AssocItemKind , 72 ) ;
2833
+
2827
2834
impl AssocItemKind {
2828
2835
pub fn defaultness ( & self ) -> Defaultness {
2829
2836
match * self {
@@ -2873,6 +2880,9 @@ pub enum ForeignItemKind {
2873
2880
MacCall ( MacCall ) ,
2874
2881
}
2875
2882
2883
+ #[ cfg( target_arch = "x86_64" ) ]
2884
+ rustc_data_structures:: static_assert_size!( ForeignItemKind , 72 ) ;
2885
+
2876
2886
impl From < ForeignItemKind > for ItemKind {
2877
2887
fn from ( foreign_item_kind : ForeignItemKind ) -> ItemKind {
2878
2888
match foreign_item_kind {
You can’t perform that action at this time.
0 commit comments