mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
495 B
Rust
11 lines
495 B
Rust
// @is "$.index[*][?(@.name=='EnumTupleStruct')].visibility" \"public\"
|
|
// @has "$.index[*][?(@.name=='EnumTupleStruct')].inner.enum"
|
|
pub enum EnumTupleStruct {
|
|
// @has "$.index[*][?(@.name=='0')].inner.struct_field"
|
|
// @set f0 = "$.index[*][?(@.name=='0')].id"
|
|
// @has "$.index[*][?(@.name=='1')].inner.struct_field"
|
|
// @set f1 = "$.index[*][?(@.name=='1')].id"
|
|
// @ismany "$.index[*][?(@.name=='VariantA')].inner.variant.kind.tuple[*]" $f0 $f1
|
|
VariantA(u32, String),
|
|
}
|