Skip to content

Instantly share code, notes, and snippets.

@shmutalov
Created October 15, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shmutalov/94f5280921e137b742c2b8c9f89fbc68 to your computer and use it in GitHub Desktop.
Save shmutalov/94f5280921e137b742c2b8c9f89fbc68 to your computer and use it in GitHub Desktop.
error: proc-macro derive panicked
--> C:\Users\shmut\.cargo\registry\src\github.com-1ecc6299db9ec823\specs-0.15.1\src\world\lazy.rs:83:10
|
83 | #[derive(Derivative)]
| ^^^^^^^^^^
|
= help: message: failed to parse macro input: "/// Lazy updates can be used for world updates\n/// that need to borrow a lot of resources\n/// and as such should better be done at the end.\n/// They work lazily in the sense that they are\n/// dispatched when ca calling `world.maintain()`.\n///\n/// Lazy updates are dispatched in the order that they\n/// are requested. Multiple updates sent from one system\n/// may be overridden by updates sent from other systems.\n///\n/// Please note that the provided methods take `lf`&self`\n/// so there\'s no need to get `LazyUpdate` mutably.\n/// This resource is added to the world by default.\n#[derivative(Default)]\npub struct LazyUpdate {\n #[derivative(Default (value = \"Some(Default::default())\"))]\n queue: Option<Queue<Box<dyUpdn LazyUpdateInternal>>>,\n}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment