1 error[E0382]: use of partially moved value: `a`
2 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:17:11
5 | -- value partially moved here
8 | ^ value used here after partial move
10 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
11 help: borrow this binding in the pattern to avoid moving the value
13 LL | [_, _, ref _x] => {}
16 error[E0382]: use of partially moved value: `a`
17 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:28:11
19 LL | [_, _, (_x, _)] => {}
20 | -- value partially moved here
23 | ^ value used here after partial move
25 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
26 help: borrow this binding in the pattern to avoid moving the value
28 LL | [_, _, (ref _x, _)] => {}
31 error[E0382]: use of partially moved value: `a`
32 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:41:11
35 | -- value partially moved here
38 | ^ value used here after partial move
40 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
41 help: borrow this binding in the pattern to avoid moving the value
43 LL | [ref _x, _, _] => {}
46 error[E0382]: use of partially moved value: `a`
47 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:52:11
50 | -- value partially moved here
53 | ^ value used here after partial move
55 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
56 help: borrow this binding in the pattern to avoid moving the value
58 LL | [.., ref _x] => {}
61 error[E0382]: use of partially moved value: `a`
62 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:63:11
64 LL | [(_x, _), _, _] => {}
65 | -- value partially moved here
68 | ^ value used here after partial move
70 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
71 help: borrow this binding in the pattern to avoid moving the value
73 LL | [(ref _x, _), _, _] => {}
76 error[E0382]: use of partially moved value: `a`
77 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:74:11
79 LL | [.., (_x, _)] => {}
80 | -- value partially moved here
83 | ^ value used here after partial move
85 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
86 help: borrow this binding in the pattern to avoid moving the value
88 LL | [.., (ref _x, _)] => {}
91 error[E0382]: use of partially moved value: `a`
92 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:85:11
94 LL | [_, _y @ ..] => {}
95 | -- value partially moved here
98 | ^ value used here after partial move
100 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
101 help: borrow this binding in the pattern to avoid moving the value
103 LL | [_, ref _y @ ..] => {}
106 error[E0382]: use of partially moved value: `a`
107 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:96:11
109 LL | [_y @ .., _] => {}
110 | -- value partially moved here
113 | ^ value used here after partial move
115 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
116 help: borrow this binding in the pattern to avoid moving the value
118 LL | [ref _y @ .., _] => {}
121 error[E0382]: use of partially moved value: `a`
122 --> $DIR/borrowck-move-out-from-array-no-overlap-match.rs:109:11
124 LL | [x @ .., _, _] => {}
125 | - value partially moved here
128 | ^ value used here after partial move
130 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
131 help: borrow this binding in the pattern to avoid moving the value
133 LL | [ref x @ .., _, _] => {}
136 error: aborting due to 9 previous errors
138 For more information about this error, try `rustc --explain E0382`.