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
45: Fix cargo build with minimal-versions r=Amanieu a=sunng87
For serde versions prior to 1.0.25, hashbrown built with serde feature will result in an error:
```
error[E0407]: method `deserialize_in_place` is not a member of trait `Deserialize`
--> src/external_trait_impls/serde.rs:164:9
|
164 | / fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error>
165 | | where
166 | | D: Deserializer<'de>,
167 | | {
... |
197 | | deserializer.deserialize_seq(SeqInPlaceVisitor(place))
198 | | }
| |_________^ not a member of trait `Deserialize`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0407`.
error: Could not compile `hashbrown`.
```
Change serde version to 1.0.25 explicitly will fix build with `cargo -Z minimal-versions build --features serde`
Co-authored-by: Ning Sun <classicning@gmail.com>
0 commit comments