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
If the type being serialized has fields containing Box<T>, the field's expression is assigned to the inner value, not wrapped in Box::new(), which causes a compiler error.
The text was updated successfully, but these errors were encountered:
As in #2 serde causes this by applying Deref fully. It's doable with post-processing, but really one wants some new formatter traits, similar to Debug and Display, and just avoid serde entirely.
If the type being serialized has fields containing
Box<T>
, the field's expression is assigned to the inner value, not wrapped inBox::new()
, which causes a compiler error.The text was updated successfully, but these errors were encountered: