@@ -124,7 +124,6 @@ for ::syntax::attr::StabilityLevel {
124
124
125
125
impl_stable_hash_for ! ( struct :: syntax:: attr:: RustcDeprecation { since, reason, suggestion } ) ;
126
126
127
-
128
127
impl_stable_hash_for ! ( enum :: syntax:: attr:: IntType {
129
128
SignedInt ( int_ty) ,
130
129
UnsignedInt ( uint_ty)
@@ -136,6 +135,11 @@ impl_stable_hash_for!(enum ::syntax::ast::LitIntType {
136
135
Unsuffixed
137
136
} ) ;
138
137
138
+ impl_stable_hash_for ! ( enum :: syntax:: ast:: LitFloatType {
139
+ Suffixed ( float_ty) ,
140
+ Unsuffixed
141
+ } ) ;
142
+
139
143
impl_stable_hash_for ! ( struct :: syntax:: ast:: Lit {
140
144
kind,
141
145
token,
@@ -148,8 +152,7 @@ impl_stable_hash_for!(enum ::syntax::ast::LitKind {
148
152
Byte ( value) ,
149
153
Char ( value) ,
150
154
Int ( value, lit_int_type) ,
151
- Float ( value, float_ty) ,
152
- FloatUnsuffixed ( value) ,
155
+ Float ( value, lit_float_type) ,
153
156
Bool ( value) ,
154
157
Err ( value)
155
158
} ) ;
@@ -159,6 +162,7 @@ impl_stable_hash_for_spanned!(::syntax::ast::LitKind);
159
162
impl_stable_hash_for ! ( enum :: syntax:: ast:: IntTy { Isize , I8 , I16 , I32 , I64 , I128 } ) ;
160
163
impl_stable_hash_for ! ( enum :: syntax:: ast:: UintTy { Usize , U8 , U16 , U32 , U64 , U128 } ) ;
161
164
impl_stable_hash_for ! ( enum :: syntax:: ast:: FloatTy { F32 , F64 } ) ;
165
+ impl_stable_hash_for ! ( enum :: rustc_target:: abi:: FloatTy { F32 , F64 } ) ;
162
166
impl_stable_hash_for ! ( enum :: syntax:: ast:: Unsafety { Unsafe , Normal } ) ;
163
167
impl_stable_hash_for ! ( enum :: syntax:: ast:: Constness { Const , NotConst } ) ;
164
168
impl_stable_hash_for ! ( enum :: syntax:: ast:: Defaultness { Default , Final } ) ;
0 commit comments