Skip to content

Instantly share code, notes, and snippets.

@rrichardson
Created November 25, 2018 18:50
Show Gist options
  • Save rrichardson/ccfaefdd89477c23d320ba01dc41f289 to your computer and use it in GitHub Desktop.
Save rrichardson/ccfaefdd89477c23d320ba01dc41f289 to your computer and use it in GitHub Desktop.
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