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

Diesel_codegen won't compile #317

Closed
sphinxc0re opened this Issue May 3, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@sphinxc0re

sphinxc0re commented May 3, 2016

Running rustc /home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/lib.rs --crate-name diesel_codegen --crate-type dylib -C prefer-dynamic -g --cfg feature=\"nightly\" --cfg feature=\"postgres\" --cfg feature=\"diesel\" -C metadata=f1388be2227ebc98 -C extra-filename=-f1388be2227ebc98 --out-dir /home/sphinxc0re/Dokumente/Projekte/simply-say/target/debug/deps --emit=dep-info,link -L dependency=/home/sphinxc0re/Dokumente/Projekte/simply-say/target/debug/deps -L dependency=/home/sphinxc0re/Dokumente/Projekte/simply-say/target/debug/deps --extern diesel=/home/sphinxc0re/Dokumente/Projekte/simply-say/target/debug/deps/libdiesel-85b76bcc9835dd7c.rlib --cap-lints allow -L native=/usr/lib
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86:46: 86:54 error: no associated item named empty found for type syntax::ptr::P<_> in the current scope
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86 cx.typaram(span, str_to_ident("DB"), P::empty(), None),
^~~~~~~~
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86:46: 86:54 note: in this expansion of vec! (defined in )
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86:46: 86:54 note: in this expansion of vec! (defined in )
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/insertable.rs:86:46: 86:54 note: in this expansion of include!
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/queryable.rs:64:42: 64:50 error: no associated item named empty found for type syntax::ptr::P<_> in the current scope
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/queryable.rs:64 cx.typaram(span, str_to_ident(name), P::empty(), None)
^~~~~~~~
/home/sphinxc0re/.multirust/toolchains/nightly/cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/queryable.rs:64:42: 64:50 note: in this expansion of include!
error: aborting due to 2 previous errors

@killercup

This comment has been minimized.

Member

killercup commented May 3, 2016

Fixed in #312, not yet on crates.io.

@sphinxc0re

This comment has been minimized.

sphinxc0re commented May 3, 2016

Oh, okay thank you. When will this be updated on crates.io?

@killercup

This comment has been minimized.

Member

killercup commented May 3, 2016

No idea, that's up to Sean :)

You can use diesel = {git = "https://github.com/diesel-rs/diesel"} in the meantime, though.

@sgrif

This comment has been minimized.

Member

sgrif commented May 3, 2016

🔜

I'm currently in the process of moving and haven't had much time to work on things. 0.7 is almost ready to go, though. I'll see if I can roll a patch version with only the nightly change when I'm at my computer though.

@sgrif sgrif closed this May 3, 2016

@sphinxc0re

This comment has been minimized.

sphinxc0re commented May 3, 2016

Still won't compile

EDIT: I will wait then

@sgrif

This comment has been minimized.

Member

sgrif commented May 3, 2016

You can also use an older nightly for the time being

On Tue, May 3, 2016, 1:15 PM Julian Laubstein notifications@github.com
wrote:

Still won't compile


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#317 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment