-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Setup
Versions
- Rust: nightly-2018-06-05
- Diesel: 1.3.0
- Database: mysql
- Operating System macos
Feature Flags
- diesel: mysql, r2d2
Problem Description
Can't build with latest nightly version.
What are you trying to accomplish?
Build.
What is the expected output?
No errors.
What is the actual output?
error[E0277]: the trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Add` is not satisfied
--> /Users/brizental/.cargo/registry/src/mygithub.libinneed.workers.dev-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
error[E0277]: the trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Sub` is not satisfied
--> /Users/brizental/.cargo/registry/src/mygithub.libinneed.workers.dev-1ecc6299db9ec823/diesel-1.3.0/src/expression/count.rs:58:39
|
58 | #[derive(Debug, Clone, Copy, QueryId, DieselNumericOps)]
| ^^^^^^^^^^^^^^^^ the trait `sql_types::ops::Sub` 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::Sub` bound
= help: see issue #48214
= help: add #![feature(trivial_bounds)] to the crate attributes to enable
error[E0277]: the trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Mul` is not satisfied
--> /Users/brizental/.cargo/registry/src/mygithub.libinneed.workers.dev-1ecc6299db9ec823/diesel-1.3.0/src/expression/count.rs:58:39
|
58 | #[derive(Debug, Clone, Copy, QueryId, DieselNumericOps)]
| ^^^^^^^^^^^^^^^^ the trait `sql_types::ops::Mul` 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::Mul` bound
= help: see issue #48214
= help: add #![feature(trivial_bounds)] to the crate attributes to enable
error[E0277]: the trait bound `<expression::count::CountStar as expression::Expression>::SqlType: sql_types::ops::Div` is not satisfied
--> /Users/brizental/.cargo/registry/src/mygithub.libinneed.workers.dev-1ecc6299db9ec823/diesel-1.3.0/src/expression/count.rs:58:39
|
58 | #[derive(Debug, Clone, Copy, QueryId, DieselNumericOps)]
| ^^^^^^^^^^^^^^^^ the trait `sql_types::ops::Div` 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::Div` bound
= help: see issue #48214
= help: add #![feature(trivial_bounds)] to the crate attributes to enable
Steps to reproduce
Try to build something with the latest nightly version.
Metadata
Metadata
Assignees
Labels
No labels