Created
August 20, 2019 10:58
-
-
Save Voker57/642ad386975743cf30936726268009c9 to your computer and use it in GitHub Desktop.
cryptic serde error
This file contains hidden or 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
error[E0308]: mismatched types | |
--> src/universe.rs:69:32 | |
| | |
69 | #[derive(PartialEq, Serialize, Deserialize)] | |
| ^^^^^^^^^^^ expected struct `universe::Empire`, found struct `universe::_IMPL_DESERIALIZE_FOR_Empire::<impl universe::_IMPL_DESERIALIZE_FOR_UniverseLocation::_serde::Deserialize<'de> for universe::Empire>::deserialize::__Visitor` | |
| | |
= note: expected type `storage::ID<universe::Empire>` | |
found type `storage::ID<universe::_IMPL_DESERIALIZE_FOR_Empire::<impl universe::_IMPL_DESERIALIZE_FOR_UniverseLocation::_serde::Deserialize<'de> for universe::Empire>::deserialize::__Visitor<'_>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment