This attribute has flew under the radar of serde documentation since it was introduced by https://github.com/serde-rs/serde/pull/1916. Given how useful it can be to improve untagged enum deserialization error messages and that its introduction has been uncontroversial so far, I think it's a good idea to document it.
This attribute has flew under the radar of serde documentation since it was introduced by https://github.com/serde-rs/serde/pull/1916. Given how useful it can be to improve untagged enum deserialization error messages and that its introduction has been uncontroversial so far, I think it's a good idea to document it.