1 error[E0277]: the size for values of type `Self` cannot be known at compilation time
2 --> $DIR/trait-with-supertraits-needing-sized-self.rs:3:22
4 LL | trait ArithmeticOps: Add<Output=Self> + Sub<Output=Self> + Mul<Output=Self> + Div<Output=Self> {}
5 | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
7 ::: $SRC_DIR/core/src/ops/arith.rs:LL:COL
9 LL | pub trait Add<Rhs = Self> {
10 | --- required by this bound in `Add`
12 help: consider further restricting `Self`
14 LL | trait ArithmeticOps: Add<Output=Self> + Sub<Output=Self> + Mul<Output=Self> + Div<Output=Self> + Sized {}
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.