Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created March 11, 2020 22:59
Show Gist options
  • Select an option

  • Save andoriyu/2dff0aae4d97ed8046484e8f03b0eb8e to your computer and use it in GitHub Desktop.

Select an option

Save andoriyu/2dff0aae4d97ed8046484e8f03b0eb8e to your computer and use it in GitHub Desktop.
Checking uclicious-example v0.1.0 (/usr/home/andoriyu/dev/github.com/andoriyu/uclicious/uclicious-example)
error[E0277]: the trait bound `std::path::PathBuf: std::convert::From<uclicious::raw::object::ObjectRef>` is not satisfied
--> uclicious-example/src/main.rs:5:16
|
5 | #[derive(Debug,Uclicious)]
| ^^^^^^^^^ the trait `std::convert::From<uclicious::raw::object::ObjectRef>` is not implemented for `std::path::PathBuf`
|
= help: the following implementations were found:
<std::path::PathBuf as std::convert::From<&T>>
<std::path::PathBuf as std::convert::From<std::borrow::Cow<'a, std::path::Path>>>
<std::path::PathBuf as std::convert::From<std::boxed::Box<std::path::Path>>>
<std::path::PathBuf as std::convert::From<std::ffi::OsString>>
<std::path::PathBuf as std::convert::From<std::string::String>>
= note: required because of the requirements on the impl of `std::convert::Into<std::path::PathBuf>` for `uclicious::raw::object::ObjectRef`
= note: required because of the requirements on the impl of `std::convert::TryFrom<uclicious::raw::object::ObjectRef>` for `std::path::PathBuf`
= note: required because of the requirements on the impl of `std::convert::TryInto<std::path::PathBuf>` for `uclicious::raw::object::ObjectRef`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment