@@ -1764,8 +1764,6 @@ pub enum StrStyle {
17641764pub struct MetaItemLit {
17651765 /// The original literal as written in the source code.
17661766 pub symbol : Symbol ,
1767- /// The original suffix as written in the source code.
1768- pub suffix : Option < Symbol > ,
17691767 /// The "semantic" representation of the literal lowered from the original tokens.
17701768 /// Strings are unescaped, hexadecimal forms are eliminated, etc.
17711769 pub kind : LitKind ,
@@ -1777,8 +1775,6 @@ pub struct MetaItemLit {
17771775pub struct StrLit {
17781776 /// The original literal as written in source code.
17791777 pub symbol : Symbol ,
1780- /// The original suffix as written in source code.
1781- pub suffix : Option < Symbol > ,
17821778 /// The semantic (unescaped) representation of the literal.
17831779 pub symbol_unescaped : Symbol ,
17841780 pub style : StrStyle ,
@@ -1791,7 +1787,7 @@ impl StrLit {
17911787 StrStyle :: Cooked => token:: Str ,
17921788 StrStyle :: Raw ( n) => token:: StrRaw ( n) ,
17931789 } ;
1794- token:: Lit :: new ( token_kind, self . symbol , self . suffix )
1790+ token:: Lit :: new ( token_kind, self . symbol , None )
17951791 }
17961792}
17971793
@@ -3315,7 +3311,7 @@ mod size_asserts {
33153311 static_assert_size ! ( Block , 32 ) ;
33163312 static_assert_size ! ( Expr , 72 ) ;
33173313 static_assert_size ! ( ExprKind , 40 ) ;
3318- static_assert_size ! ( Fn , 160 ) ;
3314+ static_assert_size ! ( Fn , 152 ) ;
33193315 static_assert_size ! ( ForeignItem , 96 ) ;
33203316 static_assert_size ! ( ForeignItemKind , 24 ) ;
33213317 static_assert_size ! ( GenericArg , 24 ) ;
0 commit comments