-------------------------------------------------------- in this macro invocation
= note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0425]: cannot find function, tuple struct or tuple variant Some in this scope
--> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\private\ser.rs:319:56
319
let mut map = try!(self.delegate.serialize_map(Some(2)));
^^^^ not found in this scope
help: consider importing one of these items
1 + use __private::de::Content::Some;
1 + use __private::ser::Content::Some;
|
error[E0531]: cannot find tuple struct or tuple variant Ok in this scope
--> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\lib.rs:280:13
let mut map = try!(self.delegate.serialize_map(Some(2)));
------------------------------------------ in this macro invocation
= note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0531]: cannot find tuple struct or tuple variant Err in this scope
--> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\lib.rs:281:13
Some
in this scope --> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\private\ser.rs:319:561 + use __private::ser::Content::Some; |
Ok
in this scope --> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\lib.rs:280:13Err
in this scope --> C:\Users\hp.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\serde-1.0.152\src\lib.rs:281:13