Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upthe trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add` is not satisfied #1731
Comments
This comment has been minimized.
|
It's a rustc bug, see #1700 #1701 #1705 #1711 #1729, #1730 , rust-lang/rust#50825 and rust-lang/rust#51042 |
weiznich
closed this
May 25, 2018
weiznich
referenced this issue
Jun 6, 2018
Closed
Unable to build with latest nightly version. #1754
This comment has been minimized.
BartMassey
commented
Jun 8, 2018
•
|
Looks like a change to |
This comment has been minimized.
|
It's not merged yet ;) |
This comment has been minimized.
BartMassey
commented
Jun 8, 2018
|
Indeed. So maybe we should wait to have closed the issue a little longer. :-) |
This comment has been minimized.
|
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 ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
llxxbb commentedMay 25, 2018
•
edited by weiznich
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::Addis 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::Addis 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::Addbound= help: see issue #48214
= help: add #![feature(trivial_bounds)] to the crate attributes to enable