File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/test/rustdoc-json/enums Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22// @has - "$.index[*][?(@.name=='EnumStruct')].kind" \"enum\"
33pub enum EnumStruct {
44 // @has - "$.index[*][?(@.name=='VariantS')].inner.variant_kind" \"struct\"
5- // @has - "$.index[*][?(@.name=='x')]"
6- // @has - "$.index[*][?(@.name=='y')]"
5+ // @has - "$.index[*][?(@.name=='x')].kind" \"struct_field\ "
6+ // @has - "$.index[*][?(@.name=='y')].kind" \"struct_field\ "
77 VariantS {
88 x : u32 ,
99 y : String ,
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\"
57 VariantA ( u32 , String ) ,
68}
You can’t perform that action at this time.
0 commit comments