-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
compile error on deriving Identifiable
#1438
Comments
You need to ensure that your |
good call, any suggestion on how to make this more obvious at the docs? Happy to put a PR together, as I've read it a handful times and couldn't see. |
We mention this in a few other places (I think the associations docs mentions it?) we could probably put that same wording in the docs for |
Had some problems with macros and derives and stuff. Eventually figured it out. Issue diesel-rs/diesel#1438 was helpful, although it pointed out that I hadn't read the documentation very well.
Would also be nice in the guide (https://diesel.rs/guides/all-about-updates.html), example code for which puts everything (schema def macro and struct) together in Liking Diesel so far, thanks |
Setup
Versions
rustc 1.23.0-beta.2 (c9107ee93 2017-12-08)
Feature Flags
Problem Description
What are you trying to accomplish?
trying to follow the association documentation https://docs.diesel.rs/diesel/associations/index.html and get a compilation error
What is the expected output?
no build errors
What is the actual output?
Are you seeing any additional errors?
Steps to reproduce
fully reproduceable repo here https://github.com/qmx/diesel-association-error-repro
Checklist
The text was updated successfully, but these errors were encountered: