@@ -5,7 +5,7 @@ LL | let a @ ref b = U;
5
5
| ^ ----- value borrowed here after move
6
6
| |
7
7
| value moved into `a` here
8
- | move occurs because `a` has type `U` which does not implement the `Copy` trait
8
+ | move occurs because `a` has type `U`, which does not implement the `Copy` trait
9
9
|
10
10
help: borrow this binding in the pattern to avoid moving the value
11
11
|
@@ -20,7 +20,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
20
20
| | |
21
21
| | value borrowed here after move
22
22
| value moved into `a` here
23
- | move occurs because `a` has type `(U, U)` which does not implement the `Copy` trait
23
+ | move occurs because `a` has type `(U, U)`, which does not implement the `Copy` trait
24
24
|
25
25
help: borrow this binding in the pattern to avoid moving the value
26
26
|
@@ -34,7 +34,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
34
34
| ^^^^^ --------- value borrowed here after move
35
35
| |
36
36
| value moved into `b` here
37
- | move occurs because `b` has type `U` which does not implement the `Copy` trait
37
+ | move occurs because `b` has type `U`, which does not implement the `Copy` trait
38
38
|
39
39
help: borrow this binding in the pattern to avoid moving the value
40
40
|
@@ -48,7 +48,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (U, U);
48
48
| ^ ----- value borrowed here after move
49
49
| |
50
50
| value moved into `d` here
51
- | move occurs because `d` has type `U` which does not implement the `Copy` trait
51
+ | move occurs because `d` has type `U`, which does not implement the `Copy` trait
52
52
|
53
53
help: borrow this binding in the pattern to avoid moving the value
54
54
|
@@ -63,7 +63,7 @@ LL | let a @ [ref mut b, ref c] = [U, U];
63
63
| | |
64
64
| | value borrowed here after move
65
65
| value moved into `a` here
66
- | move occurs because `a` has type `[U; 2]` which does not implement the `Copy` trait
66
+ | move occurs because `a` has type `[U; 2]`, which does not implement the `Copy` trait
67
67
|
68
68
help: borrow this binding in the pattern to avoid moving the value
69
69
|
@@ -77,7 +77,7 @@ LL | let a @ ref b = u();
77
77
| ^ ----- value borrowed here after move
78
78
| |
79
79
| value moved into `a` here
80
- | move occurs because `a` has type `U` which does not implement the `Copy` trait
80
+ | move occurs because `a` has type `U`, which does not implement the `Copy` trait
81
81
|
82
82
help: borrow this binding in the pattern to avoid moving the value
83
83
|
@@ -92,7 +92,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
92
92
| | |
93
93
| | value borrowed here after move
94
94
| value moved into `a` here
95
- | move occurs because `a` has type `(U, U)` which does not implement the `Copy` trait
95
+ | move occurs because `a` has type `(U, U)`, which does not implement the `Copy` trait
96
96
|
97
97
help: borrow this binding in the pattern to avoid moving the value
98
98
|
@@ -106,7 +106,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
106
106
| ^^^^^ --------- value borrowed here after move
107
107
| |
108
108
| value moved into `b` here
109
- | move occurs because `b` has type `U` which does not implement the `Copy` trait
109
+ | move occurs because `b` has type `U`, which does not implement the `Copy` trait
110
110
|
111
111
help: borrow this binding in the pattern to avoid moving the value
112
112
|
@@ -120,7 +120,7 @@ LL | let a @ (mut b @ ref mut c, d @ ref e) = (u(), u());
120
120
| ^ ----- value borrowed here after move
121
121
| |
122
122
| value moved into `d` here
123
- | move occurs because `d` has type `U` which does not implement the `Copy` trait
123
+ | move occurs because `d` has type `U`, which does not implement the `Copy` trait
124
124
|
125
125
help: borrow this binding in the pattern to avoid moving the value
126
126
|
@@ -135,7 +135,7 @@ LL | let a @ [ref mut b, ref c] = [u(), u()];
135
135
| | |
136
136
| | value borrowed here after move
137
137
| value moved into `a` here
138
- | move occurs because `a` has type `[U; 2]` which does not implement the `Copy` trait
138
+ | move occurs because `a` has type `[U; 2]`, which does not implement the `Copy` trait
139
139
|
140
140
help: borrow this binding in the pattern to avoid moving the value
141
141
|
@@ -149,7 +149,7 @@ LL | a @ Some(ref b) => {}
149
149
| ^ ----- value borrowed here after move
150
150
| |
151
151
| value moved into `a` here
152
- | move occurs because `a` has type `Option<U>` which does not implement the `Copy` trait
152
+ | move occurs because `a` has type `Option<U>`, which does not implement the `Copy` trait
153
153
|
154
154
help: borrow this binding in the pattern to avoid moving the value
155
155
|
@@ -164,7 +164,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
164
164
| | |
165
165
| | value borrowed here after move
166
166
| value moved into `a` here
167
- | move occurs because `a` has type `Option<(U, U)>` which does not implement the `Copy` trait
167
+ | move occurs because `a` has type `Option<(U, U)>`, which does not implement the `Copy` trait
168
168
|
169
169
help: borrow this binding in the pattern to avoid moving the value
170
170
|
@@ -178,7 +178,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
178
178
| ^^^^^ --------- value borrowed here after move
179
179
| |
180
180
| value moved into `b` here
181
- | move occurs because `b` has type `U` which does not implement the `Copy` trait
181
+ | move occurs because `b` has type `U`, which does not implement the `Copy` trait
182
182
|
183
183
help: borrow this binding in the pattern to avoid moving the value
184
184
|
@@ -192,7 +192,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
192
192
| ^ ----- value borrowed here after move
193
193
| |
194
194
| value moved into `d` here
195
- | move occurs because `d` has type `U` which does not implement the `Copy` trait
195
+ | move occurs because `d` has type `U`, which does not implement the `Copy` trait
196
196
|
197
197
help: borrow this binding in the pattern to avoid moving the value
198
198
|
@@ -207,7 +207,7 @@ LL | mut a @ Some([ref b, ref mut c]) => {}
207
207
| | |
208
208
| | value borrowed here after move
209
209
| value moved into `a` here
210
- | move occurs because `a` has type `Option<[U; 2]>` which does not implement the `Copy` trait
210
+ | move occurs because `a` has type `Option<[U; 2]>`, which does not implement the `Copy` trait
211
211
|
212
212
help: borrow this binding in the pattern to avoid moving the value
213
213
|
@@ -221,7 +221,7 @@ LL | a @ Some(ref b) => {}
221
221
| ^ ----- value borrowed here after move
222
222
| |
223
223
| value moved into `a` here
224
- | move occurs because `a` has type `Option<U>` which does not implement the `Copy` trait
224
+ | move occurs because `a` has type `Option<U>`, which does not implement the `Copy` trait
225
225
|
226
226
help: borrow this binding in the pattern to avoid moving the value
227
227
|
@@ -236,7 +236,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
236
236
| | |
237
237
| | value borrowed here after move
238
238
| value moved into `a` here
239
- | move occurs because `a` has type `Option<(U, U)>` which does not implement the `Copy` trait
239
+ | move occurs because `a` has type `Option<(U, U)>`, which does not implement the `Copy` trait
240
240
|
241
241
help: borrow this binding in the pattern to avoid moving the value
242
242
|
@@ -250,7 +250,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
250
250
| ^^^^^ --------- value borrowed here after move
251
251
| |
252
252
| value moved into `b` here
253
- | move occurs because `b` has type `U` which does not implement the `Copy` trait
253
+ | move occurs because `b` has type `U`, which does not implement the `Copy` trait
254
254
|
255
255
help: borrow this binding in the pattern to avoid moving the value
256
256
|
@@ -264,7 +264,7 @@ LL | a @ Some((mut b @ ref mut c, d @ ref e)) => {}
264
264
| ^ ----- value borrowed here after move
265
265
| |
266
266
| value moved into `d` here
267
- | move occurs because `d` has type `U` which does not implement the `Copy` trait
267
+ | move occurs because `d` has type `U`, which does not implement the `Copy` trait
268
268
|
269
269
help: borrow this binding in the pattern to avoid moving the value
270
270
|
@@ -279,7 +279,7 @@ LL | mut a @ Some([ref b, ref mut c]) => {}
279
279
| | |
280
280
| | value borrowed here after move
281
281
| value moved into `a` here
282
- | move occurs because `a` has type `Option<[U; 2]>` which does not implement the `Copy` trait
282
+ | move occurs because `a` has type `Option<[U; 2]>`, which does not implement the `Copy` trait
283
283
|
284
284
help: borrow this binding in the pattern to avoid moving the value
285
285
|
@@ -349,7 +349,7 @@ LL | fn f1(a @ ref b: U) {}
349
349
| ^ ----- value borrowed here after move
350
350
| |
351
351
| value moved into `a` here
352
- | move occurs because `a` has type `U` which does not implement the `Copy` trait
352
+ | move occurs because `a` has type `U`, which does not implement the `Copy` trait
353
353
|
354
354
help: borrow this binding in the pattern to avoid moving the value
355
355
|
@@ -364,7 +364,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
364
364
| | |
365
365
| | value borrowed here after move
366
366
| value moved into `a` here
367
- | move occurs because `a` has type `(U, U)` which does not implement the `Copy` trait
367
+ | move occurs because `a` has type `(U, U)`, which does not implement the `Copy` trait
368
368
|
369
369
help: borrow this binding in the pattern to avoid moving the value
370
370
|
@@ -378,7 +378,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
378
378
| ^ ----- value borrowed here after move
379
379
| |
380
380
| value moved into `b` here
381
- | move occurs because `b` has type `U` which does not implement the `Copy` trait
381
+ | move occurs because `b` has type `U`, which does not implement the `Copy` trait
382
382
|
383
383
help: borrow this binding in the pattern to avoid moving the value
384
384
|
@@ -392,7 +392,7 @@ LL | fn f2(mut a @ (b @ ref c, mut d @ ref e): (U, U)) {}
392
392
| ^^^^^ ----- value borrowed here after move
393
393
| |
394
394
| value moved into `d` here
395
- | move occurs because `d` has type `U` which does not implement the `Copy` trait
395
+ | move occurs because `d` has type `U`, which does not implement the `Copy` trait
396
396
|
397
397
help: borrow this binding in the pattern to avoid moving the value
398
398
|
@@ -417,7 +417,7 @@ LL | fn f3(a @ [ref mut b, ref c]: [U; 2]) {}
417
417
| | |
418
418
| | value borrowed here after move
419
419
| value moved into `a` here
420
- | move occurs because `a` has type `[U; 2]` which does not implement the `Copy` trait
420
+ | move occurs because `a` has type `[U; 2]`, which does not implement the `Copy` trait
421
421
|
422
422
help: borrow this binding in the pattern to avoid moving the value
423
423
|
0 commit comments