-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
I ran into an API that returned Result<T, ()>
, which seems reasonable, but couldn't convert the error to Box<Error>
because
crater-web/main.rs:52:40: 52:52 error: the trait `std::error::Error` is not implemented for the type `()` [E0277]
crater-web/main.rs:52 let e: Box<StdError> = Box::new(());
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.