Skip to content

Instantly share code, notes, and snippets.

@teburd
Created July 23, 2020 19:15
Show Gist options
  • Save teburd/a70085c7ea1b9473e663157ea72d8197 to your computer and use it in GitHub Desktop.
Save teburd/a70085c7ea1b9473e663157ea72d8197 to your computer and use it in GitHub Desktop.
error[E0277]: the size for values of type `(dyn std::error::Error + std::marker::Send + 'static)` cannot be known at compilation time
--> src/bus.rs:61:57
|
61 | SubscriptionError::DecodeError(err) => Some(&err as &(dyn Error + 'static)),
| ^^^^ doesn't have a size known at compile-time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment