@@ -27,6 +27,7 @@ pub use UnsafeSource::*;
27
27
use crate :: ptr:: P ;
28
28
use crate :: token:: { self , CommentKind , Delimiter } ;
29
29
use crate :: tokenstream:: { DelimSpan , LazyAttrTokenStream , TokenStream } ;
30
+ use rustc_data_structures:: packed:: Pu128 ;
30
31
use rustc_data_structures:: stable_hasher:: { HashStable , StableHasher } ;
31
32
use rustc_data_structures:: stack:: ensure_sufficient_stack;
32
33
use rustc_data_structures:: sync:: Lrc ;
@@ -1829,7 +1830,7 @@ pub enum LitKind {
1829
1830
/// A character literal (`'a'`).
1830
1831
Char ( char ) ,
1831
1832
/// An integer literal (`1`).
1832
- Int ( u128 , LitIntType ) ,
1833
+ Int ( Pu128 , LitIntType ) ,
1833
1834
/// A float literal (`1.0`, `1f64` or `1E10f64`). The pre-suffix part is
1834
1835
/// stored as a symbol rather than `f64` so that `LitKind` can impl `Eq`
1835
1836
/// and `Hash`.
@@ -3300,13 +3301,9 @@ mod size_asserts {
3300
3301
static_assert_size ! ( Impl , 136 ) ;
3301
3302
static_assert_size ! ( Item , 136 ) ;
3302
3303
static_assert_size ! ( ItemKind , 64 ) ;
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 ) ;
3304
+ static_assert_size ! ( LitKind , 24 ) ;
3306
3305
static_assert_size ! ( Local , 72 ) ;
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 ) ;
3306
+ static_assert_size ! ( MetaItemLit , 40 ) ;
3310
3307
static_assert_size ! ( Param , 40 ) ;
3311
3308
static_assert_size ! ( Pat , 72 ) ;
3312
3309
static_assert_size ! ( Path , 24 ) ;
0 commit comments