@@ -27,7 +27,6 @@ pub use UnsafeSource::*;
2727use crate :: ptr:: P ;
2828use crate :: token:: { self , CommentKind , Delimiter } ;
2929use crate :: tokenstream:: { DelimSpan , LazyAttrTokenStream , TokenStream } ;
30- use rustc_data_structures:: packed:: Pu128 ;
3130use rustc_data_structures:: stable_hasher:: { HashStable , StableHasher } ;
3231use rustc_data_structures:: stack:: ensure_sufficient_stack;
3332use rustc_data_structures:: sync:: Lrc ;
@@ -1830,7 +1829,7 @@ pub enum LitKind {
18301829 /// A character literal (`'a'`).
18311830 Char ( char ) ,
18321831 /// An integer literal (`1`).
1833- Int ( Pu128 , LitIntType ) ,
1832+ Int ( u128 , LitIntType ) ,
18341833 /// A float literal (`1.0`, `1f64` or `1E10f64`). The pre-suffix part is
18351834 /// stored as a symbol rather than `f64` so that `LitKind` can impl `Eq`
18361835 /// and `Hash`.
@@ -3301,9 +3300,13 @@ mod size_asserts {
33013300 static_assert_size ! ( Impl , 136 ) ;
33023301 static_assert_size ! ( Item , 136 ) ;
33033302 static_assert_size ! ( ItemKind , 64 ) ;
3304- static_assert_size ! ( LitKind , 24 ) ;
3303+ // This can be removed after i128:128 is in the bootstrap compiler's target.
3304+ #[ cfg( not( bootstrap) ) ]
3305+ static_assert_size ! ( LitKind , 32 ) ;
33053306 static_assert_size ! ( Local , 72 ) ;
3306- static_assert_size ! ( MetaItemLit , 40 ) ;
3307+ // This can be removed after i128:128 is in the bootstrap compiler's target.
3308+ #[ cfg( not( bootstrap) ) ]
3309+ static_assert_size ! ( MetaItemLit , 48 ) ;
33073310 static_assert_size ! ( Param , 40 ) ;
33083311 static_assert_size ! ( Pat , 72 ) ;
33093312 static_assert_size ! ( Path , 24 ) ;
0 commit comments