@@ -1760,8 +1760,6 @@ pub enum StrStyle {
17601760pub struct MetaItemLit {
17611761 /// The original literal as written in the source code.
17621762 pub symbol : Symbol ,
1763- /// The original suffix as written in the source code.
1764- pub suffix : Option < Symbol > ,
17651763 /// The "semantic" representation of the literal lowered from the original tokens.
17661764 /// Strings are unescaped, hexadecimal forms are eliminated, etc.
17671765 pub kind : LitKind ,
@@ -1773,8 +1771,6 @@ pub struct MetaItemLit {
17731771pub struct StrLit {
17741772 /// The original literal as written in source code.
17751773 pub symbol : Symbol ,
1776- /// The original suffix as written in source code.
1777- pub suffix : Option < Symbol > ,
17781774 /// The semantic (unescaped) representation of the literal.
17791775 pub symbol_unescaped : Symbol ,
17801776 pub style : StrStyle ,
@@ -1787,7 +1783,7 @@ impl StrLit {
17871783 StrStyle :: Cooked => token:: Str ,
17881784 StrStyle :: Raw ( n) => token:: StrRaw ( n) ,
17891785 } ;
1790- token:: Lit :: new ( token_kind, self . symbol , self . suffix )
1786+ token:: Lit :: new ( token_kind, self . symbol , None )
17911787 }
17921788}
17931789
@@ -3292,7 +3288,7 @@ mod size_asserts {
32923288 static_assert_size ! ( Block , 32 ) ;
32933289 static_assert_size ! ( Expr , 72 ) ;
32943290 static_assert_size ! ( ExprKind , 40 ) ;
3295- static_assert_size ! ( Fn , 160 ) ;
3291+ static_assert_size ! ( Fn , 152 ) ;
32963292 static_assert_size ! ( ForeignItem , 96 ) ;
32973293 static_assert_size ! ( ForeignItemKind , 24 ) ;
32983294 static_assert_size ! ( GenericArg , 24 ) ;
0 commit comments