Serialize all enums as externally tagged to guarantee compatibility with binary formats such as bincode or postcard
This commit is contained in:
parent
48ec50ae39
commit
a5e5101375
96 changed files with 703 additions and 715 deletions
|
@ -1,4 +1,4 @@
|
|||
// @is "$.index[*][?(@.name=='Tuple')].visibility" \"public\"
|
||||
// @is "$.index[*][?(@.name=='Tuple')].kind" \"struct\"
|
||||
// @is "$.index[*][?(@.name=='Tuple')].inner.kind.tuple" '[null, null]'
|
||||
// @has "$.index[*][?(@.name=='Tuple')].inner.struct"
|
||||
// @is "$.index[*][?(@.name=='Tuple')].inner.struct.kind.tuple" '[null, null]'
|
||||
pub struct Tuple(u32, String);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue