@@ -7,7 +7,7 @@ LL | fn add<A: Add<B, Output=()>, B>(lhs: A, rhs: B) {
77 | consider adding a `Copy` constraint to this type argument
88LL | lhs + rhs;
99 | --- value moved here
10- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
10+ LL | drop(lhs);
1111 | ^^^ value used here after move
1212
1313error[E0382]: use of moved value: `rhs`
@@ -19,8 +19,8 @@ LL | fn add<A: Add<B, Output=()>, B>(lhs: A, rhs: B) {
1919 | consider adding a `Copy` constraint to this type argument
2020LL | lhs + rhs;
2121 | --- value moved here
22- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
23- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
22+ LL | drop(lhs);
23+ LL | drop(rhs);
2424 | ^^^ value used here after move
2525
2626error[E0382]: use of moved value: `lhs`
@@ -32,7 +32,7 @@ LL | fn sub<A: Sub<B, Output=()>, B>(lhs: A, rhs: B) {
3232 | consider adding a `Copy` constraint to this type argument
3333LL | lhs - rhs;
3434 | --- value moved here
35- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
35+ LL | drop(lhs);
3636 | ^^^ value used here after move
3737
3838error[E0382]: use of moved value: `rhs`
@@ -44,8 +44,8 @@ LL | fn sub<A: Sub<B, Output=()>, B>(lhs: A, rhs: B) {
4444 | consider adding a `Copy` constraint to this type argument
4545LL | lhs - rhs;
4646 | --- value moved here
47- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
48- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
47+ LL | drop(lhs);
48+ LL | drop(rhs);
4949 | ^^^ value used here after move
5050
5151error[E0382]: use of moved value: `lhs`
@@ -57,7 +57,7 @@ LL | fn mul<A: Mul<B, Output=()>, B>(lhs: A, rhs: B) {
5757 | consider adding a `Copy` constraint to this type argument
5858LL | lhs * rhs;
5959 | --- value moved here
60- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
60+ LL | drop(lhs);
6161 | ^^^ value used here after move
6262
6363error[E0382]: use of moved value: `rhs`
@@ -69,8 +69,8 @@ LL | fn mul<A: Mul<B, Output=()>, B>(lhs: A, rhs: B) {
6969 | consider adding a `Copy` constraint to this type argument
7070LL | lhs * rhs;
7171 | --- value moved here
72- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
73- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
72+ LL | drop(lhs);
73+ LL | drop(rhs);
7474 | ^^^ value used here after move
7575
7676error[E0382]: use of moved value: `lhs`
@@ -82,7 +82,7 @@ LL | fn div<A: Div<B, Output=()>, B>(lhs: A, rhs: B) {
8282 | consider adding a `Copy` constraint to this type argument
8383LL | lhs / rhs;
8484 | --- value moved here
85- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
85+ LL | drop(lhs);
8686 | ^^^ value used here after move
8787
8888error[E0382]: use of moved value: `rhs`
@@ -94,8 +94,8 @@ LL | fn div<A: Div<B, Output=()>, B>(lhs: A, rhs: B) {
9494 | consider adding a `Copy` constraint to this type argument
9595LL | lhs / rhs;
9696 | --- value moved here
97- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
98- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
97+ LL | drop(lhs);
98+ LL | drop(rhs);
9999 | ^^^ value used here after move
100100
101101error[E0382]: use of moved value: `lhs`
@@ -107,7 +107,7 @@ LL | fn rem<A: Rem<B, Output=()>, B>(lhs: A, rhs: B) {
107107 | consider adding a `Copy` constraint to this type argument
108108LL | lhs % rhs;
109109 | --- value moved here
110- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
110+ LL | drop(lhs);
111111 | ^^^ value used here after move
112112
113113error[E0382]: use of moved value: `rhs`
@@ -119,8 +119,8 @@ LL | fn rem<A: Rem<B, Output=()>, B>(lhs: A, rhs: B) {
119119 | consider adding a `Copy` constraint to this type argument
120120LL | lhs % rhs;
121121 | --- value moved here
122- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
123- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
122+ LL | drop(lhs);
123+ LL | drop(rhs);
124124 | ^^^ value used here after move
125125
126126error[E0382]: use of moved value: `lhs`
@@ -132,7 +132,7 @@ LL | fn bitand<A: BitAnd<B, Output=()>, B>(lhs: A, rhs: B) {
132132 | consider adding a `Copy` constraint to this type argument
133133LL | lhs & rhs;
134134 | --- value moved here
135- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
135+ LL | drop(lhs);
136136 | ^^^ value used here after move
137137
138138error[E0382]: use of moved value: `rhs`
@@ -144,8 +144,8 @@ LL | fn bitand<A: BitAnd<B, Output=()>, B>(lhs: A, rhs: B) {
144144 | consider adding a `Copy` constraint to this type argument
145145LL | lhs & rhs;
146146 | --- value moved here
147- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
148- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
147+ LL | drop(lhs);
148+ LL | drop(rhs);
149149 | ^^^ value used here after move
150150
151151error[E0382]: use of moved value: `lhs`
@@ -157,7 +157,7 @@ LL | fn bitor<A: BitOr<B, Output=()>, B>(lhs: A, rhs: B) {
157157 | consider adding a `Copy` constraint to this type argument
158158LL | lhs | rhs;
159159 | --- value moved here
160- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
160+ LL | drop(lhs);
161161 | ^^^ value used here after move
162162
163163error[E0382]: use of moved value: `rhs`
@@ -169,8 +169,8 @@ LL | fn bitor<A: BitOr<B, Output=()>, B>(lhs: A, rhs: B) {
169169 | consider adding a `Copy` constraint to this type argument
170170LL | lhs | rhs;
171171 | --- value moved here
172- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
173- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
172+ LL | drop(lhs);
173+ LL | drop(rhs);
174174 | ^^^ value used here after move
175175
176176error[E0382]: use of moved value: `lhs`
@@ -182,7 +182,7 @@ LL | fn bitxor<A: BitXor<B, Output=()>, B>(lhs: A, rhs: B) {
182182 | consider adding a `Copy` constraint to this type argument
183183LL | lhs ^ rhs;
184184 | --- value moved here
185- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
185+ LL | drop(lhs);
186186 | ^^^ value used here after move
187187
188188error[E0382]: use of moved value: `rhs`
@@ -194,8 +194,8 @@ LL | fn bitxor<A: BitXor<B, Output=()>, B>(lhs: A, rhs: B) {
194194 | consider adding a `Copy` constraint to this type argument
195195LL | lhs ^ rhs;
196196 | --- value moved here
197- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
198- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
197+ LL | drop(lhs);
198+ LL | drop(rhs);
199199 | ^^^ value used here after move
200200
201201error[E0382]: use of moved value: `lhs`
@@ -207,7 +207,7 @@ LL | fn shl<A: Shl<B, Output=()>, B>(lhs: A, rhs: B) {
207207 | consider adding a `Copy` constraint to this type argument
208208LL | lhs << rhs;
209209 | --- value moved here
210- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
210+ LL | drop(lhs);
211211 | ^^^ value used here after move
212212
213213error[E0382]: use of moved value: `rhs`
@@ -219,8 +219,8 @@ LL | fn shl<A: Shl<B, Output=()>, B>(lhs: A, rhs: B) {
219219 | consider adding a `Copy` constraint to this type argument
220220LL | lhs << rhs;
221221 | --- value moved here
222- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
223- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
222+ LL | drop(lhs);
223+ LL | drop(rhs);
224224 | ^^^ value used here after move
225225
226226error[E0382]: use of moved value: `lhs`
@@ -232,7 +232,7 @@ LL | fn shr<A: Shr<B, Output=()>, B>(lhs: A, rhs: B) {
232232 | consider adding a `Copy` constraint to this type argument
233233LL | lhs >> rhs;
234234 | --- value moved here
235- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
235+ LL | drop(lhs);
236236 | ^^^ value used here after move
237237
238238error[E0382]: use of moved value: `rhs`
@@ -244,8 +244,8 @@ LL | fn shr<A: Shr<B, Output=()>, B>(lhs: A, rhs: B) {
244244 | consider adding a `Copy` constraint to this type argument
245245LL | lhs >> rhs;
246246 | --- value moved here
247- LL | drop(lhs); //~ ERROR use of moved value: `lhs`
248- LL | drop(rhs); //~ ERROR use of moved value: `rhs`
247+ LL | drop(lhs);
248+ LL | drop(rhs);
249249 | ^^^ value used here after move
250250
251251error: aborting due to 20 previous errors
0 commit comments