File tree 1 file changed +6
-6
lines changed
sqlx-macros-core/src/derives 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -273,14 +273,14 @@ fn expand_derive_decode_struct(
273
273
let mut generics = generics. clone ( ) ;
274
274
generics. params . insert ( 0 , parse_quote ! ( ' r) ) ;
275
275
276
- let predicates = & mut generics. make_where_clause ( ) . predicates ;
276
+ // let predicates = &mut generics.make_where_clause().predicates;
277
277
278
- for field in fields {
279
- let ty = & field. ty ;
278
+ // for field in fields {
279
+ // let ty = &field.ty;
280
280
281
- predicates. push ( parse_quote ! ( #ty: :: sqlx:: decode:: Decode <' r, :: sqlx:: Postgres >) ) ;
282
- predicates. push ( parse_quote ! ( #ty: :: sqlx:: types:: Type <:: sqlx:: Postgres >) ) ;
283
- }
281
+ // predicates.push(parse_quote!(#ty: ::sqlx::decode::Decode<'r, ::sqlx::Postgres>));
282
+ // predicates.push(parse_quote!(#ty: ::sqlx::types::Type<::sqlx::Postgres>));
283
+ // }
284
284
285
285
let ( impl_generics, _, where_clause) = generics. split_for_impl ( ) ;
286
286
You can’t perform that action at this time.
0 commit comments