-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Compile error with #[derive(Type)]
starting from nightly-2024-04-05
#3185
Comments
For some context: this is coming from rust-lang/rust#119820, which is an intentional breaking change, coming to Rust 1.79. ( we at docs.rs are also impacted: rust-lang/docs.rs#2488 ) |
I'm also seeing this. On the plus side, I learned how to downgrade a rust version from this. If you're here and need to do the same, here's how...
I can confirm |
Bumping this issue: the problem happens in Rust 1.79 which is currently in beta. It is set to release this change in just 3 weeks! @lcnr posted a comment that they would try to delay the change, but so far it's still in the beta. Please merge the PR with the fix without waiting too much, it already feels like it's cutting it fairly close. |
closed by #2940 |
Just in case anyone who's following this issue is wondering, the new stable release didn't break things depending on |
Bug Description
The code below does not compile on nightly-2024-04-05 or later.
Minimal Reproduction
Info
sqlx = { version = "0.7.4", features = ["postgres"] }
psql (PostgreSQL) 16.2 (Ubuntu 16.2-1.pgdg20.04+1)
Linux Mint 20.1 x86_64
rustc --version
: nightly-2024-04-05The text was updated successfully, but these errors were encountered: