Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Support for postgres 0.16.0-rc.2 (or 0.16) #16

Closed
SitiSchu opened this issue Jul 27, 2019 · 1 comment
Closed

Support for postgres 0.16.0-rc.2 (or 0.16) #16

SitiSchu opened this issue Jul 27, 2019 · 1 comment

Comments

@SitiSchu
Copy link

SitiSchu commented Jul 27, 2019

Currently when trying to use this crate with postgres = "0.16.0-rc.2" the example on Enums will error with

error: cannot find macro `to_sql_checked!` in this scope
 --> src/main.rs:6:17
  |
6 | #[derive(Debug, ToSql, FromSql)]

  |                 ^^^^^
error[E0726]: implicit elided lifetime not allowed here
 --> src/main.rs:6:24
  |
6 | #[derive(Debug, ToSql, FromSql)]
  |                        ^^^^^^^- help: indicate the anonymous lifetime: `<'_>`

Are there any plans to support postgres 0.16.0-rc.2 right now or will support be added when postgres 0.16 is released(or would this issue be better suited on the postgres repo itself) ?

@SitiSchu
Copy link
Author

Ok looks like the first error is fixed by sfackler/rust-postgres@c0fcf34 and the second is fixed by #15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant