1 error[E0382]: use of moved value: `x`
2 --> $DIR/unop-move-semantics.rs:8:5
7 LL | x.clone(); //~ ERROR: use of moved value
8 | ^ value used here after move
10 = note: move occurs because `x` has type `T`, which does not implement the `Copy` trait
12 error[E0505]: cannot move out of `x` because it is borrowed
13 --> $DIR/unop-move-semantics.rs:15:6
16 | - borrow of `x` occurs here
18 LL | !x; //~ ERROR: cannot move out of `x` because it is borrowed
19 | ^ move out of `x` occurs here
21 error[E0505]: cannot move out of `y` because it is borrowed
22 --> $DIR/unop-move-semantics.rs:17:6
25 | - borrow of `y` occurs here
27 LL | !y; //~ ERROR: cannot move out of `y` because it is borrowed
28 | ^ move out of `y` occurs here
30 error[E0507]: cannot move out of borrowed content
31 --> $DIR/unop-move-semantics.rs:24:6
33 LL | !*m; //~ ERROR: cannot move out of borrowed content
34 | ^^ cannot move out of borrowed content
36 error[E0507]: cannot move out of borrowed content
37 --> $DIR/unop-move-semantics.rs:26:6
39 LL | !*n; //~ ERROR: cannot move out of borrowed content
40 | ^^ cannot move out of borrowed content
42 error: aborting due to 5 previous errors
44 Some errors occurred: E0382, E0505, E0507.
45 For more information about an error, try `rustc --explain E0382`.