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 upmacro undefined: 'infer_schema_options!' #850
Comments
This comment has been minimized.
|
Can you run |
This comment has been minimized.
suryakencana007
commented
Apr 8, 2017
•
This comment has been minimized.
|
Sorry I did not reply to this in April, this was during my parental leave when I wasn't around much. There's not enough information here to reproduce, so I'm going to close this. If you are able to reproduce this issue on Diesel 0.99 or later, please open a new issue. |
sgrif
closed this
Dec 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



suryakencana007 commentedApr 6, 2017
When I build or test in the dir workspace with option "--all", building is failed. The message is
Running
rustc --crate-name rustweb src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=bfa9892632724e72 -C extra-filename=-bfa9892632724e72 --out-dir /Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps -L dependency=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps --extern diesel=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps/libdiesel-be0e2b3b62613036.rlib --extern hyper=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps/libhyper-a990edaaf27e9f52.rlib --extern diesel_codegen=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps/libdiesel_codegen-b9349f7ccad6c8b0.dylib --extern rustc_serialize=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps/librustc_serialize-54d2bf33b1d4b0b0.rlib --extern dotenv=/Volumes/RAID1/KERJAAN/experiment/RUST/Diesel/rustweb/target/debug/deps/libdotenv-75d8ce5725f9d0e8.rlib -L native=/usr/local/opt/postgresql/liberror: macro undefined: 'infer_schema_options!'
--> src/schema.rs:1:1
|
1 | infer_schema!("dotenv:DATABASE_URL");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate