-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix new Rust unused warnings #4130
Fix new Rust unused warnings #4130
Conversation
New compiler warnings seem to highlight that this wasn't used
Ah that error seems wrong: |
550c19c
to
74209c4
Compare
I'm not sure what's going on with the compile tests update for you. It doesn't produce that output locally for me. I just pushed the changes produced locally, hopefully that is also what the CI produces. I also fixed the new clippy warnings + bumped the toolchain version to 1.80 |
@@ -74,4 +74,4 @@ note: the trait `Table` must be implemented | |||
= note: the following trait defines an item `only`, perhaps you need to implement it: | |||
candidate #1: `diesel::dsl::OnlyDsl` | |||
|
|||
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:400:21: relating different kinds: diesel::pg::Pg '?2 | |||
error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:364:21: relating different kinds: diesel::pg::Pg '?2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1cde89a
to
223b8eb
Compare
Thanks a lot! |
…onClause Fix new Rust unused warnings
…onClause Fix new Rust unused warnings
New compiler warnings seem to indicate that this wasn't used.
Instead the
CombinationClause
type holds both right hand side and left side of combinations, and implementsQuery
directly.