Remove struct_type from union output and bump format
This commit is contained in:
parent
74500b9978
commit
3106de5f2a
4 changed files with 20 additions and 6 deletions
7
src/test/rustdoc-json/unions/union.rs
Normal file
7
src/test/rustdoc-json/unions/union.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// @has union.json "$.index[*][?(@.name=='Union')].visibility" \"public\"
|
||||
// @has - "$.index[*][?(@.name=='Union')].kind" \"union\"
|
||||
// @!has - "$.index[*][?(@.name=='Union')].inner.struct_type"
|
||||
pub union Union {
|
||||
int: i32,
|
||||
float: f32,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue