dtolnay / erased-serde

Type-erased Serialize, Serializer and Deserializer traits
Apache License 2.0
709 stars 36 forks source link

A more future-proof Fingerprint implementation #77

Closed dtolnay closed 1 year ago

dtolnay commented 1 year ago

There is a possibility that polymorphization-related work in rustc will lead to the closures inside fn f<T>() { let _ = || (); } reusing the same type across distinct generic instantiations of f.