This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
error: macro undefined: 'postgres!' #3
Comments
Hmm, that's strange. You're using the 0.2 release, right? |
I'm using 0.2.2, I also tried downgrading |
Ah, I'm seeing the same thing. |
Ah, looks like rust-lang/rust#39347. Remove |
Thanks, it worked! BTW. I believe in example in README.md, line |
Fixed! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I had a working code that compiles with:
rustc 1.15.0-nightly (c80c31a50 2016-12-02)
Upgrading to:
rustc 1.16.0-nightly (df8debf6d 2017-01-25)
shows
error: macro undefined: 'postgres!'
on
5 | #[postgres(name = "panel_position")]
and
14 | #[postgres(name = "panel_value_type")]
Given code (starting at line 4):
Also version of rust-postgres changed from 0.13.3 to 0.13.5, I can provide version changes for rest of crates if it would be necessary
The text was updated successfully, but these errors were encountered: