Created
November 25, 2018 18:50
-
-
Save rrichardson/ccfaefdd89477c23d320ba01dc41f289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
impl From<StoreError> for MegadexError { | |
| ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | |
| | |
= help: within `error::MegadexError`, the trait `std::marker::Sized` is not implemented for `(dyn std::error::Error + 'static)` | |
= note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> | |
= note: required because it appears within the type `error::MegadexError` | |
error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment