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