@@ -1764,8 +1764,6 @@ pub enum StrStyle {
1764
1764
pub struct MetaItemLit {
1765
1765
/// The original literal as written in the source code.
1766
1766
pub symbol : Symbol ,
1767
- /// The original suffix as written in the source code.
1768
- pub suffix : Option < Symbol > ,
1769
1767
/// The "semantic" representation of the literal lowered from the original tokens.
1770
1768
/// Strings are unescaped, hexadecimal forms are eliminated, etc.
1771
1769
pub kind : LitKind ,
@@ -1777,8 +1775,6 @@ pub struct MetaItemLit {
1777
1775
pub struct StrLit {
1778
1776
/// The original literal as written in source code.
1779
1777
pub symbol : Symbol ,
1780
- /// The original suffix as written in source code.
1781
- pub suffix : Option < Symbol > ,
1782
1778
/// The semantic (unescaped) representation of the literal.
1783
1779
pub symbol_unescaped : Symbol ,
1784
1780
pub style : StrStyle ,
@@ -1791,7 +1787,7 @@ impl StrLit {
1791
1787
StrStyle :: Cooked => token:: Str ,
1792
1788
StrStyle :: Raw ( n) => token:: StrRaw ( n) ,
1793
1789
} ;
1794
- token:: Lit :: new ( token_kind, self . symbol , self . suffix )
1790
+ token:: Lit :: new ( token_kind, self . symbol , None )
1795
1791
}
1796
1792
}
1797
1793
@@ -3315,7 +3311,7 @@ mod size_asserts {
3315
3311
static_assert_size ! ( Block , 32 ) ;
3316
3312
static_assert_size ! ( Expr , 72 ) ;
3317
3313
static_assert_size ! ( ExprKind , 40 ) ;
3318
- static_assert_size ! ( Fn , 160 ) ;
3314
+ static_assert_size ! ( Fn , 152 ) ;
3319
3315
static_assert_size ! ( ForeignItem , 96 ) ;
3320
3316
static_assert_size ! ( ForeignItemKind , 24 ) ;
3321
3317
static_assert_size ! ( GenericArg , 24 ) ;
0 commit comments