Skip to content

Instantly share code, notes, and snippets.

@jaredonline
Created September 26, 2014 01:42
Show Gist options
  • Save jaredonline/6f0203f9a43de51ec92c to your computer and use it in GitHub Desktop.
Save jaredonline/6f0203f9a43de51ec92c to your computer and use it in GitHub Desktop.
structs.rs:48:23: 48:28 error: mismatched types: expected `Box<State+'a>`, found `Box<BadState>` (expected trait State, found struct BadState)
structs.rs:48 self.state = state;
^~~~~
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment