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

Compiler error on latest nightly rust #313

Closed
derekdreery opened this Issue May 1, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@derekdreery
Contributor

derekdreery commented May 1, 2016

Do other people get this? Downloaded latest nightly before testing.

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/rdodd/.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),
@killercup

This comment has been minimized.

Member

killercup commented May 1, 2016

I'm pretty sure that's fixed by #312, but it's not on crates.io yet.

Also, you should always use the nightly version that diesel_codegen uses (e.g., multirust update nightly-2016-04-08 && rustup override add nightly-2016-04-08).

@brookst

This comment has been minimized.

Contributor

brookst commented May 1, 2016

Yes this was the reason for #312, I should have stated that was the error. Either work off of diesel master or use a nighty prior to 2016-04-25.

@derekdreery

This comment has been minimized.

Contributor

derekdreery commented May 1, 2016

Thanksyou 👍

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