https://pantsbuild.org/ logo
r

rough-minister-58256

03/26/2017, 11:54 PM
Copy code
error[E0277]: the trait bound `std::string::String: std::convert::From<std::io::Error>` is not satisfied
   --> src/rust/engine/src/fs.rs:781:7
    |
781 |       util::safe_create_dir_all(dest_dir)?;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::io::Error>` is not implemented for `std::string::String`
    |
    = help: the following implementations were found:
              <std::string::String as std::convert::From<&'a str>>
              <std::string::String as std::convert::From<std::borrow::Cow<'a, str>>>
    = note: required by `std::convert::From::from`

error: aborting due to previous error