@@ -191,7 +191,7 @@ LL | let X(_t) = vs_[0];
191
191
| -- ^^^^^^
192
192
| | |
193
193
| | cannot move out of borrowed content
194
- | | help: consider using a reference instead : `&vs_[0]`
194
+ | | help: consider borrowing here : `&vs_[0]`
195
195
| data moved here
196
196
|
197
197
note: move occurs because `_t` has type `Y`, which does not implement the `Copy` trait
@@ -207,7 +207,7 @@ LL | if let Either::One(_t) = vr[0] { }
207
207
| -- ^^^^^
208
208
| | |
209
209
| | cannot move out of borrowed content
210
- | | help: consider using a reference instead : `&vr[0]`
210
+ | | help: consider borrowing here : `&vr[0]`
211
211
| data moved here
212
212
|
213
213
note: move occurs because `_t` has type `X`, which does not implement the `Copy` trait
@@ -223,7 +223,7 @@ LL | while let Either::One(_t) = vr[0] { }
223
223
| -- ^^^^^
224
224
| | |
225
225
| | cannot move out of borrowed content
226
- | | help: consider using a reference instead : `&vr[0]`
226
+ | | help: consider borrowing here : `&vr[0]`
227
227
| data moved here
228
228
|
229
229
note: move occurs because `_t` has type `X`, which does not implement the `Copy` trait
@@ -239,7 +239,7 @@ LL | match vr[0] {
239
239
| ^^^^^
240
240
| |
241
241
| cannot move out of borrowed content
242
- | help: consider using a reference instead : `&vr[0]`
242
+ | help: consider borrowing here : `&vr[0]`
243
243
...
244
244
LL | Either::One(_t)
245
245
| -- data moved here
@@ -257,7 +257,7 @@ LL | match vr[0] {
257
257
| ^^^^^
258
258
| |
259
259
| cannot move out of borrowed content
260
- | help: consider using a reference instead : `&vr[0]`
260
+ | help: consider borrowing here : `&vr[0]`
261
261
...
262
262
LL | Either::One(_t) => (),
263
263
| -- data moved here
@@ -275,7 +275,7 @@ LL | let X(_t) = vsm[0];
275
275
| -- ^^^^^^
276
276
| | |
277
277
| | cannot move out of borrowed content
278
- | | help: consider using a reference instead : `&vsm[0]`
278
+ | | help: consider borrowing here : `&vsm[0]`
279
279
| data moved here
280
280
|
281
281
note: move occurs because `_t` has type `Y`, which does not implement the `Copy` trait
@@ -291,7 +291,7 @@ LL | if let Either::One(_t) = vrm[0] { }
291
291
| -- ^^^^^^
292
292
| | |
293
293
| | cannot move out of borrowed content
294
- | | help: consider using a reference instead : `&vrm[0]`
294
+ | | help: consider borrowing here : `&vrm[0]`
295
295
| data moved here
296
296
|
297
297
note: move occurs because `_t` has type `X`, which does not implement the `Copy` trait
@@ -307,7 +307,7 @@ LL | while let Either::One(_t) = vrm[0] { }
307
307
| -- ^^^^^^
308
308
| | |
309
309
| | cannot move out of borrowed content
310
- | | help: consider using a reference instead : `&vrm[0]`
310
+ | | help: consider borrowing here : `&vrm[0]`
311
311
| data moved here
312
312
|
313
313
note: move occurs because `_t` has type `X`, which does not implement the `Copy` trait
@@ -323,7 +323,7 @@ LL | match vrm[0] {
323
323
| ^^^^^^
324
324
| |
325
325
| cannot move out of borrowed content
326
- | help: consider using a reference instead : `&vrm[0]`
326
+ | help: consider borrowing here : `&vrm[0]`
327
327
...
328
328
LL | Either::One(_t)
329
329
| -- data moved here
@@ -341,7 +341,7 @@ LL | match vrm[0] {
341
341
| ^^^^^^
342
342
| |
343
343
| cannot move out of borrowed content
344
- | help: consider using a reference instead : `&vrm[0]`
344
+ | help: consider borrowing here : `&vrm[0]`
345
345
...
346
346
LL | Either::One(_t) => (),
347
347
| -- data moved here
@@ -359,7 +359,7 @@ LL | match vrm[0] {
359
359
| ^^^^^^
360
360
| |
361
361
| cannot move out of borrowed content
362
- | help: consider using a reference instead : `&vrm[0]`
362
+ | help: consider borrowing here : `&vrm[0]`
363
363
...
364
364
LL | Either::One(_t) => (),
365
365
| -- data moved here
0 commit comments