1 error[E0382]: use of moved value
2 --> $DIR/borrowck-move-and-move.rs:13:9
5 | ^^^^- - move occurs because value has type `U`, which does not implement the `Copy` trait
8 | value used here after move
10 error[E0382]: use of partially moved value
11 --> $DIR/borrowck-move-and-move.rs:15:9
13 LL | let a @ (b, c) = (U, U);
16 | | value partially moved here
17 | value used here after partial move
19 = note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
21 error[E0382]: use of partially moved value
22 --> $DIR/borrowck-move-and-move.rs:17:9
24 LL | let a @ (b, c) = (u(), u());
27 | | value partially moved here
28 | value used here after partial move
30 = note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
32 error[E0382]: use of moved value
33 --> $DIR/borrowck-move-and-move.rs:20:16
36 | ----- move occurs because value has type `Result<U, U>`, which does not implement the `Copy` trait
37 LL | a @ Ok(b) | a @ Err(b) => {}
40 | | value used here after move
43 error[E0382]: use of moved value
44 --> $DIR/borrowck-move-and-move.rs:20:29
47 | ----- move occurs because value has type `Result<U, U>`, which does not implement the `Copy` trait
48 LL | a @ Ok(b) | a @ Err(b) => {}
51 | | value used here after move
54 error[E0382]: use of partially moved value
55 --> $DIR/borrowck-move-and-move.rs:27:9
57 LL | xs @ [a, .., b] => {}
60 | | value partially moved here
61 | value used here after partial move
63 = note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
65 error[E0382]: use of partially moved value
66 --> $DIR/borrowck-move-and-move.rs:31:9
68 LL | xs @ [_, ys @ .., _] => {}
69 | ^^^^^^^^^-------^^^^
71 | | value partially moved here
72 | value used here after partial move
74 = note: partial move occurs because value has type `U`, which does not implement the `Copy` trait
76 error[E0382]: use of moved value
77 --> $DIR/borrowck-move-and-move.rs:24:12
79 LL | fn fun(a @ b: U) {}
83 | value used here after move
84 | move occurs because value has type `U`, which does not implement the `Copy` trait
86 error: aborting due to 8 previous errors
88 For more information about this error, try `rustc --explain E0382`.