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
error[E0277]: the trait bound `errors::Error: serde::export::From<std::io::Error>` is not satisfied
--> world\src\mapfile.rs:39:5
|
39 | write!(output, "{}", MapSave { map, legend })?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::export::From<std::io::Error>` is not implemented for `errors::Error`
|
= help: the following implementations were found:
<errors::Error as serde::export::From<ron::ser::Error>>
<errors::Error as serde::export::From<ron::de::Error>>
<errors::Error as serde::export::From<errors::ErrorKind>>
<errors::Error as serde::export::From<&'a str>>
<errors::Error as serde::export::From<std::string::String>>
= note: required by `serde::export::From::from`
Is this an easy fix? I'm still learning error_chain and Rust in general.
The text was updated successfully, but these errors were encountered:
When building with nightly rust on Windows, I get the following error:
Is this an easy fix? I'm still learning
error_chain
and Rust in general.The text was updated successfully, but these errors were encountered: