File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/test/rustdoc-json/enums Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 22// @has - "$.index[*][?(@.name=='EnumTupleStruct')].kind" \"enum\"
33pub enum EnumTupleStruct {
44 // @has - "$.index[*][?(@.name=='VariantA')].inner.variant_kind" \"tuple\"
5- // @has - "$.index[*][?(@.name=='0')].kind" \"struct_field\"
6- // @has - "$.index[*][?(@.name=='1')].kind" \"struct_field\"
7- VariantA ( u32 , String ) ,
5+ VariantA (
6+ // @set field_0 = - "$.index[*][?(@.name=='0')].id"
7+ // @has - "$.index[*][?(@.name=='0')].kind" \"struct_field\"
8+ u32 ,
9+ // @set field_1 = - "$.index[*][?(@.name=='1')].id"
10+ // @has - "$.index[*][?(@.name=='1')].kind" \"struct_field\"
11+ String ,
12+ ) ,
813}
14+
15+ // @has - "$.index[*][?(@.name=='VariantA')].inner.variant_inner[*]" $field_0
16+ // @has - "$.index[*][?(@.name=='VariantA')].inner.variant_inner[*]" $field_1
You can’t perform that action at this time.
0 commit comments