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
$ cargo build --features preserve_order
Compiling serde_json v0.8.0 (file:///Users/spark/prj/hjson/hjson-rust/_json/json)
src/value.rs:383:39: 383:48 error: no method named `serialize` found for type `&linked_hash_map::LinkedHashMap<std::string::String, value::Value>` in the current scope
src/value.rs:383 Value::Object(ref v) => v.serialize(serializer),
^~~~~~~~~
src/value.rs:383:39: 383:48 note: the method `serialize` exists but the following trait bounds were not satisfied: `linked_hash_map::LinkedHashMap<std::string::String, value::Value> : serde::Serialize`
src/value.rs:467:53: 467:62 error: no method named `visit_map` found for type `linked_hash_map::serde::LinkedHashMapVisitor<_, _>` in the current scope
src/value.rs:467 let values = try!(MapVisitor::new().visit_map(visitor));
^~~~~~~~~
src/value.rs:467:30: 467:72 note: in this expansion of try! (defined in <std macros>)
src/value.rs:467:53: 467:62 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
src/value.rs:467:53: 467:62 help: candidate #1: `use serde::de::Visitor`
error: aborting due to 2 previous errors
error: Could not compile `serde_json`.
Maybe also add it to travis?
The text was updated successfully, but these errors were encountered:
This fails at the moment:
Maybe also add it to travis?
The text was updated successfully, but these errors were encountered: