sigp / superstruct

Rust library for versioned data types
https://sigp.github.io/superstruct/
Apache License 2.0
65 stars 3 forks source link

Check that `specific_variant_attributes` refer to real variants #36

Open michaelsproul opened 8 months ago

michaelsproul commented 8 months ago

At the moment superstruct accepts specific_variant_attributes for variants that do not exist. We should raise an error in this case.