Commit 60738bd
Merge #45
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>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments