Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCannot find macro `table!` and cannot find derive macro `Queryable` #1811
Comments
This comment has been minimized.
This sounds like that the (I closed this issue because there is nothing actionable for the diesel team here. Feel free to response here or use our gitter channel to ask future questions.) |
weiznich
closed this
Aug 4, 2018
This comment has been minimized.
biot023
commented
Aug 4, 2018
|
Oh good grief. Yes, it was precisely that -- thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
biot023 commentedAug 4, 2018
Setup
Versions
Feature Flags
Problem Description
I followed the getting started tutorial and that worked okay.
But now I'm seeing these errors when I run
cargo checkon another project I'm trying to use diesel on.table!in this scopeQueryablein this scopeThe first in particular is in a file generated by diesel.
What are you trying to accomplish?
Implementing the same functionality as the "getting started" tutorial, pretty much.
What is the expected output?
That it should compile (or show me some other errors).
What is the actual output?
Are you seeing any additional errors?
No.
Steps to reproduce
Running
cargo checkon my codebase.I have the following lines in my
src/lib.rsfile in this order:The diesel-generated
src/schema.rsfile looks like this:And the
src/models.rsfile looks like this:Checklist
closed if this is not the case)