You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2020. It is now read-only.
Deserializing from a structure that doesn't contain a field that is required will cause the unhelpful error message about a unit being required at line 0, col 0.
While we can improve the UnitDeserializer, it would be best to first intercept the errors at https://github.com/serde-rs/xml/blob/master/src/de/mod.rs#L646 and enrich them with line and column info, because we might always run into a serde-reported error instead of a serde-xml-reported error.
Deserializing from a structure that doesn't contain a field that is required will cause the unhelpful error message about a unit being required at line 0, col 0.
While we can improve the
UnitDeserializer
, it would be best to first intercept the errors at https://github.com/serde-rs/xml/blob/master/src/de/mod.rs#L646 and enrich them with line and column info, because we might always run into a serde-reported error instead of a serde-xml-reported error.Related PRs:
The text was updated successfully, but these errors were encountered: