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 note: required by a bound in `Add`
8 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
9 help: consider further restricting `Self`
11 LL | trait ArithmeticOps: Add<Output=Self> + Sub<Output=Self> + Mul<Output=Self> + Div<Output=Self> + Sized {}
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0277`.