-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<MockBackend as Backend>::Error
should be a real error type
#48
Comments
Indeed. I came across this issue when trying to get the doc tests passing when the |
I came across this issue in the exact same situation. I added "cpal" feature in my dev-dependencies and it worked. |
Are you making a library based on Kira? |
Yes I was making |
Currently,
<MockBackend as Backend>::Error
is()
so it cannot be converted toBox<dyn std::error::Error>
.Using
std::convert::Infallible
or a standalone type that implementstd::error::Error
would be more convenient.The text was updated successfully, but these errors were encountered: