LL | fn add<A: Add<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs + rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/arith.rs:LL:COL
+ |
+LL | fn add(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn add<A: Add<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn sub<A: Sub<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs - rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/arith.rs:LL:COL
+ |
+LL | fn sub(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn sub<A: Sub<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn mul<A: Mul<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs * rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/arith.rs:LL:COL
+ |
+LL | fn mul(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn mul<A: Mul<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn div<A: Div<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs / rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/arith.rs:LL:COL
+ |
+LL | fn div(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn div<A: Div<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn rem<A: Rem<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs % rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/arith.rs:LL:COL
+ |
+LL | fn rem(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn rem<A: Rem<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn bitand<A: BitAnd<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs & rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/bit.rs:LL:COL
+ |
+LL | fn bitand(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn bitand<A: BitAnd<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn bitor<A: BitOr<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs | rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/bit.rs:LL:COL
+ |
+LL | fn bitor(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn bitor<A: BitOr<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn bitxor<A: BitXor<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs ^ rhs;
- | --- value moved here
+ | --------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/bit.rs:LL:COL
+ |
+LL | fn bitxor(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn bitxor<A: BitXor<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn shl<A: Shl<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs << rhs;
- | --- value moved here
+ | ---------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/bit.rs:LL:COL
+ |
+LL | fn shl(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn shl<A: Shl<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
LL | fn shr<A: Shr<B, Output=()>, B>(lhs: A, rhs: B) {
| --- move occurs because `lhs` has type `A`, which does not implement the `Copy` trait
LL | lhs >> rhs;
- | --- value moved here
+ | ---------- `lhs` moved due to usage in operator
LL | drop(lhs);
| ^^^ value used here after move
|
+note: calling this operator moves the left-hand side
+ --> $SRC_DIR/libcore/ops/bit.rs:LL:COL
+ |
+LL | fn shr(self, rhs: Rhs) -> Self::Output;
+ | ^^^^
help: consider further restricting this bound
|
LL | fn shr<A: Shr<B, Output=()> + Copy, B>(lhs: A, rhs: B) {