Skip to content

Instantly share code, notes, and snippets.

@vadixidav
Created February 6, 2017 20:19
Show Gist options
  • Save vadixidav/6eefb16df30058f6d06d85b36fa53dea to your computer and use it in GitHub Desktop.
Save vadixidav/6eefb16df30058f6d06d85b36fa53dea to your computer and use it in GitHub Desktop.
error[E0277]: the trait bound `Self: std::marker::Sized` is not satisfied
--> src/lib.rs:46:18
|
46 | Some(self as &Self as &Any)
| ^^^^^^^^^^^^^ the trait `std::marker::Sized` is not implemented for `Self`
|
= help: consider adding a `where Self: std::marker::Sized` bound
= note: required for the cast to the object type `std::any::Any + 'static`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment