@@ -17,7 +17,7 @@ LL | lhs + rhs;
17
17
| --- you could clone this value
18
18
note: calling this operator moves the left-hand side
19
19
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
20
- help: consider further restricting this bound with trait `Copy`
20
+ help: consider further restricting type parameter `A` with trait `Copy`
21
21
|
22
22
LL | fn add<A: Add<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
23
23
| ++++++
@@ -64,7 +64,7 @@ LL | lhs - rhs;
64
64
| --- you could clone this value
65
65
note: calling this operator moves the left-hand side
66
66
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
67
- help: consider further restricting this bound with trait `Copy`
67
+ help: consider further restricting type parameter `A` with trait `Copy`
68
68
|
69
69
LL | fn sub<A: Sub<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
70
70
| ++++++
@@ -111,7 +111,7 @@ LL | lhs * rhs;
111
111
| --- you could clone this value
112
112
note: calling this operator moves the left-hand side
113
113
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
114
- help: consider further restricting this bound with trait `Copy`
114
+ help: consider further restricting type parameter `A` with trait `Copy`
115
115
|
116
116
LL | fn mul<A: Mul<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
117
117
| ++++++
@@ -158,7 +158,7 @@ LL | lhs / rhs;
158
158
| --- you could clone this value
159
159
note: calling this operator moves the left-hand side
160
160
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
161
- help: consider further restricting this bound with trait `Copy`
161
+ help: consider further restricting type parameter `A` with trait `Copy`
162
162
|
163
163
LL | fn div<A: Div<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
164
164
| ++++++
@@ -205,7 +205,7 @@ LL | lhs % rhs;
205
205
| --- you could clone this value
206
206
note: calling this operator moves the left-hand side
207
207
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
208
- help: consider further restricting this bound with trait `Copy`
208
+ help: consider further restricting type parameter `A` with trait `Copy`
209
209
|
210
210
LL | fn rem<A: Rem<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
211
211
| ++++++
@@ -252,7 +252,7 @@ LL | lhs & rhs;
252
252
| --- you could clone this value
253
253
note: calling this operator moves the left-hand side
254
254
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
255
- help: consider further restricting this bound with trait `Copy`
255
+ help: consider further restricting type parameter `A` with trait `Copy`
256
256
|
257
257
LL | fn bitand<A: BitAnd<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
258
258
| ++++++
@@ -299,7 +299,7 @@ LL | lhs | rhs;
299
299
| --- you could clone this value
300
300
note: calling this operator moves the left-hand side
301
301
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
302
- help: consider further restricting this bound with trait `Copy`
302
+ help: consider further restricting type parameter `A` with trait `Copy`
303
303
|
304
304
LL | fn bitor<A: BitOr<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
305
305
| ++++++
@@ -346,7 +346,7 @@ LL | lhs ^ rhs;
346
346
| --- you could clone this value
347
347
note: calling this operator moves the left-hand side
348
348
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
349
- help: consider further restricting this bound with trait `Copy`
349
+ help: consider further restricting type parameter `A` with trait `Copy`
350
350
|
351
351
LL | fn bitxor<A: BitXor<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
352
352
| ++++++
@@ -393,7 +393,7 @@ LL | lhs << rhs;
393
393
| --- you could clone this value
394
394
note: calling this operator moves the left-hand side
395
395
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
396
- help: consider further restricting this bound with trait `Copy`
396
+ help: consider further restricting type parameter `A` with trait `Copy`
397
397
|
398
398
LL | fn shl<A: Shl<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
399
399
| ++++++
@@ -440,7 +440,7 @@ LL | lhs >> rhs;
440
440
| --- you could clone this value
441
441
note: calling this operator moves the left-hand side
442
442
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
443
- help: consider further restricting this bound with trait `Copy`
443
+ help: consider further restricting type parameter `A` with trait `Copy`
444
444
|
445
445
LL | fn shr<A: Shr<B, Output=()> + Copy, B>(lhs: A, rhs: B) {
446
446
| ++++++
0 commit comments