File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ keyed = []
17
17
[dependencies ]
18
18
repository-macros = {version = " 0.1.0" , path = " repository-macros" }
19
19
elsa = " 1.7.0"
20
- indexmap = " 1.9.1"
20
+ indexmap = { version = " 1.9.1" , features = [ " std " ]}
21
21
22
22
[workspace ]
23
23
members = [" repository-macros" ]
Original file line number Diff line number Diff line change @@ -1514,7 +1514,14 @@ impl AdtVariantDefinition {
1514
1514
let stor_args_tys = Self :: prepare_adt_initializer_tokens (
1515
1515
variant_stor_param_list. into_iter ( ) ,
1516
1516
false ,
1517
- |_, param_type| quote ! ( #param_type, ) ,
1517
+ |_, param_type| {
1518
+ // FIXME: temporary workaround for current language limitation
1519
+ if matches ! ( param_type, syn:: Type :: ImplTrait ( ..) ) {
1520
+ quote ! ( _, )
1521
+ } else {
1522
+ quote ! ( #param_type, )
1523
+ }
1524
+ } ,
1518
1525
) ;
1519
1526
quote ! {
1520
1527
#[ allow( non_snake_case) ]
You can’t perform that action at this time.
0 commit comments