@@ -1760,8 +1760,6 @@ pub enum StrStyle {
1760
1760
pub struct MetaItemLit {
1761
1761
/// The original literal as written in the source code.
1762
1762
pub symbol : Symbol ,
1763
- /// The original suffix as written in the source code.
1764
- pub suffix : Option < Symbol > ,
1765
1763
/// The "semantic" representation of the literal lowered from the original tokens.
1766
1764
/// Strings are unescaped, hexadecimal forms are eliminated, etc.
1767
1765
pub kind : LitKind ,
@@ -1773,8 +1771,6 @@ pub struct MetaItemLit {
1773
1771
pub struct StrLit {
1774
1772
/// The original literal as written in source code.
1775
1773
pub symbol : Symbol ,
1776
- /// The original suffix as written in source code.
1777
- pub suffix : Option < Symbol > ,
1778
1774
/// The semantic (unescaped) representation of the literal.
1779
1775
pub symbol_unescaped : Symbol ,
1780
1776
pub style : StrStyle ,
@@ -1787,7 +1783,7 @@ impl StrLit {
1787
1783
StrStyle :: Cooked => token:: Str ,
1788
1784
StrStyle :: Raw ( n) => token:: StrRaw ( n) ,
1789
1785
} ;
1790
- token:: Lit :: new ( token_kind, self . symbol , self . suffix )
1786
+ token:: Lit :: new ( token_kind, self . symbol , None )
1791
1787
}
1792
1788
}
1793
1789
@@ -3292,7 +3288,7 @@ mod size_asserts {
3292
3288
static_assert_size ! ( Block , 32 ) ;
3293
3289
static_assert_size ! ( Expr , 72 ) ;
3294
3290
static_assert_size ! ( ExprKind , 40 ) ;
3295
- static_assert_size ! ( Fn , 160 ) ;
3291
+ static_assert_size ! ( Fn , 152 ) ;
3296
3292
static_assert_size ! ( ForeignItem , 96 ) ;
3297
3293
static_assert_size ! ( ForeignItemKind , 24 ) ;
3298
3294
static_assert_size ! ( GenericArg , 24 ) ;
0 commit comments