-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with deriving FromValueRef #27
Comments
I'm not able to reproduce the error with the code you've given. Could you paste (or link to a gist) the entire file? |
I attempted to create a reduced example for this, but was unable to reproduce. This issue does come up in a larger codebase though. If I figure out more, I'll re-open issue/re-report. |
Ok, the issue comes from having a This will reproduce the issue: extern crate ketos;
#[macro_use] extern crate ketos_derive;
#[derive(Clone, Debug, ForeignValue, FromValue, IntoValue)]
pub struct Example {
test: u64
}
fn main () {
} I apologize for the confusion earlier. |
I'm still not able to duplicate this error. Taking a stab in the dark, I'd guess maybe there's a version difference problem going on. What version of I'm afraid it's very difficult to help diagnose the underlying cause without being able to see the entire codebase. |
The following code:
Gives the error:
The text was updated successfully, but these errors were encountered: