Closed aldanor closed 7 years ago
:+1: Serde treats PhantomData as a special case as well because it is serializable / deserializable without needing bounds on the type parameter T.
Came here to file the same issue and, sure enough, it's already filed.
It would be nice if examples like this could be handled automatically if it's even possible: