File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,6 @@ impl TraceDeriveInput {
447
447
generics. make_where_clause ( ) . predicates . push ( parse_quote ! ( #target: #requirement) ) ;
448
448
}
449
449
let ty_generics = self . generics . original . split_for_impl ( ) . 1 ;
450
- generics. make_where_clause ( ) . predicates . push ( parse_quote ! ( #id: zerogc:: SimpleAllocCollectorId ) ) ;
451
450
let ( impl_generics, _, where_clause) = generics. split_for_impl ( ) ;
452
451
let target_type = & self . ident ;
453
452
let forward_attrs = & self . attrs ;
@@ -498,7 +497,7 @@ impl TraceDeriveInput {
498
497
} ;
499
498
let remote_name = target_type. to_token_stream ( ) . to_string ( ) ;
500
499
let id_decl = if id_is_generic {
501
- Some ( quote ! ( #id: zerogc:: SimpleAllocCollectorId , ) )
500
+ Some ( quote ! ( #id: zerogc:: CollectorId , ) )
502
501
} else { None } ;
503
502
Ok ( quote ! {
504
503
impl #impl_generics zerogc:: serde:: GcDeserialize <#gc_lt, ' deserialize, #id> for #target_type #ty_generics #where_clause {
You can’t perform that action at this time.
0 commit comments