@@ -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 ;
@@ -1833,7 +1834,7 @@ pub enum LitKind {
1833
1834
/// A character literal (`'a'`).
1834
1835
Char ( char ) ,
1835
1836
/// An integer literal (`1`).
1836
- Int ( u128 , LitIntType ) ,
1837
+ Int ( Pu128 , LitIntType ) ,
1837
1838
/// A float literal (`1.0`, `1f64` or `1E10f64`). The pre-suffix part is
1838
1839
/// stored as a symbol rather than `f64` so that `LitKind` can impl `Eq`
1839
1840
/// and `Hash`.
@@ -3304,13 +3305,9 @@ mod size_asserts {
3304
3305
static_assert_size ! ( Impl , 136 ) ;
3305
3306
static_assert_size ! ( Item , 136 ) ;
3306
3307
static_assert_size ! ( ItemKind , 64 ) ;
3307
- // This can be removed after i128:128 is in the bootstrap compiler's target.
3308
- #[ cfg( not( bootstrap) ) ]
3309
- static_assert_size ! ( LitKind , 32 ) ;
3308
+ static_assert_size ! ( LitKind , 24 ) ;
3310
3309
static_assert_size ! ( Local , 72 ) ;
3311
- // This can be removed after i128:128 is in the bootstrap compiler's target.
3312
- #[ cfg( not( bootstrap) ) ]
3313
- static_assert_size ! ( MetaItemLit , 48 ) ;
3310
+ static_assert_size ! ( MetaItemLit , 40 ) ;
3314
3311
static_assert_size ! ( Param , 40 ) ;
3315
3312
static_assert_size ! ( Pat , 72 ) ;
3316
3313
static_assert_size ! ( Path , 24 ) ;
0 commit comments