1 error[E0382]: use of moved value: `a[..]`
2 --> $DIR/borrowck-move-out-from-array-match.rs:13:14
8 | ^^ value used here after move
10 = note: move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
12 error[E0382]: use of partially moved value: `a[..]`
13 --> $DIR/borrowck-move-out-from-array-match.rs:23:14
15 LL | [_, _, (_x, _)] => {}
16 | -- value partially moved here
19 | ^^ value used here after partial move
21 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
23 error[E0382]: use of moved value: `a[..].0`
24 --> $DIR/borrowck-move-out-from-array-match.rs:33:15
26 LL | [_, _, (_x, _)] => {}
29 LL | [.., (_y, _)] => {}
30 | ^^ value used here after move
32 = note: move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
34 error[E0382]: use of partially moved value: `a`
35 --> $DIR/borrowck-move-out-from-array-match.rs:44:11
38 | -- value partially moved here
41 | ^ value used here after partial move
43 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
45 error[E0382]: use of partially moved value: `a`
46 --> $DIR/borrowck-move-out-from-array-match.rs:55:11
49 | -- value partially moved here
52 | ^ value used here after partial move
54 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
56 error[E0382]: use of partially moved value: `a`
57 --> $DIR/borrowck-move-out-from-array-match.rs:66:11
59 LL | [(_x, _), _, _] => {}
60 | -- value partially moved here
63 | ^ value used here after partial move
65 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
67 error[E0382]: use of partially moved value: `a`
68 --> $DIR/borrowck-move-out-from-array-match.rs:77:11
70 LL | [.., (_x, _)] => {}
71 | -- value partially moved here
74 | ^ value used here after partial move
76 = note: partial move occurs because `a[..].0` has type `String`, which does not implement the `Copy` trait
78 error[E0382]: use of moved value: `a[..].0`
79 --> $DIR/borrowck-move-out-from-array-match.rs:89:11
81 LL | [_y @ .., _, _] => {}
82 | ------- value moved here
84 LL | [(_x, _), _, _] => {}
85 | ^^ value used here after move
87 = note: move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
89 error[E0382]: use of moved value: `a[..].0`
90 --> $DIR/borrowck-move-out-from-array-match.rs:99:15
92 LL | [_, _, _y @ ..] => {}
93 | ------- value moved here
95 LL | [.., (_x, _)] => {}
96 | ^^ value used here after move
98 = note: move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
100 error[E0382]: use of partially moved value: `a`
101 --> $DIR/borrowck-move-out-from-array-match.rs:110:11
103 LL | [x @ .., _] => {}
104 | ------ value partially moved here
107 | ^ value used here after partial move
109 = note: partial move occurs because `a[..]` has type `(String, String)`, which does not implement the `Copy` trait
111 error: aborting due to 10 previous errors
113 For more information about this error, try `rustc --explain E0382`.