Remove struct_type from union output and bump format

This commit is contained in:
Rune Tynan 2021-01-23 19:40:29 -05:00
parent 74500b9978
commit 3106de5f2a
No known key found for this signature in database
GPG key ID: 7ECC932F8B2C731E
4 changed files with 20 additions and 6 deletions

View 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,
}