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

Update diesel_codegen for the latest libsyntax breakage #318

Closed
jimmycuadra opened this Issue May 5, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@jimmycuadra
Contributor

jimmycuadra commented May 5, 2016

Looks like diesel_codegen needs a new version with updates for the last round of breaking changes to libsyntax. Syntex has been updated to 0.32 for this.

/home/redacted/.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/redacted/.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/redacted/.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 <std macros>)
/home/redacted/.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 <std macros>)
/home/redacted/.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/redacted/.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/redacted/.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/redacted/.cargo/registry/src/github.com-88ac128001ac3a9a/diesel_codegen-0.6.1/src/queryable.rs:64:42: 64:50 note: in this expansion of include!
@Eijebong

This comment has been minimized.

Member

Eijebong commented May 5, 2016

Already fixed on master, see #312

@sgrif sgrif closed this May 6, 2016

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