-
-
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
the trait bound <expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add
is not satisfied
#1731
Comments
It's a rustc bug, see #1700 #1701 #1705 #1711 #1729, #1730 , rust-lang/rust#50825 and rust-lang/rust#51042 |
Looks like a change to |
It's not merged yet ;) |
Indeed. So maybe we should wait to have closed the issue a little longer. :-) |
No because it's not something that's actionable on our part so it shouldn't even have been opened here in the first place ;) |
diesel = { version = "1.3", default-features = false, features = ["sqlite","chrono"] }
error[E0277]: the trait bound
<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add
is not satisfied--> C:\Users\llxxb.cargo\registry\src\github.com-1ecc6299db9ec823\diesel-1.3.0\src\expression\count.rs:58:39
|
58 | #[derive(Debug, Clone, Copy, QueryId, DieselNumericOps)]
| ^^^^^^^^^^^^^^^^ the trait
sql_types::ops::Add
is not implemented for<expression::count::CountStar as expression::Expression>::SqlType
|
= help: consider adding a
where <expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add
bound= help: see issue #48214
= help: add #![feature(trivial_bounds)] to the crate attributes to enable
The text was updated successfully, but these errors were encountered: