1 error[E0382]: use of moved value: `x`
2 --> $DIR/binop-move-semantics.rs:18:5
7 LL | x; //~ 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[E0382]: borrow of moved value: `x`
13 --> $DIR/binop-move-semantics.rs:24:5
18 LL | x.clone(); //~ ERROR: use of moved value
19 | ^ value borrowed here after move
21 = note: move occurs because `x` has type `T`, which does not implement the `Copy` trait
23 error[E0507]: cannot move out of borrowed content
24 --> $DIR/binop-move-semantics.rs:40:5
26 LL | *m //~ ERROR: cannot move out of borrowed content
27 | ^^ cannot move out of borrowed content
29 error[E0507]: cannot move out of borrowed content
30 --> $DIR/binop-move-semantics.rs:42:5
32 LL | *n; //~ ERROR: cannot move out of borrowed content
33 | ^^ cannot move out of borrowed content
35 error[E0502]: cannot borrow `f` as immutable because it is also borrowed as mutable
36 --> $DIR/binop-move-semantics.rs:64:5
41 | _____mutable borrow occurs here
44 LL | | &f; //~ ERROR: cannot borrow `f` as immutable because it is also borrowed as mutable
47 | |mutable borrow later used here
48 | immutable borrow occurs here
50 error[E0502]: cannot borrow `f` as mutable because it is also borrowed as immutable
51 --> $DIR/binop-move-semantics.rs:72:5
56 | _____immutable borrow occurs here
59 LL | | &mut f; //~ ERROR: cannot borrow `f` as mutable because it is also borrowed as immutable
62 | | immutable borrow later used here
63 | mutable borrow occurs here
65 error: aborting due to 6 previous errors
67 Some errors occurred: E0382, E0502, E0507.
68 For more information about an error, try `rustc --explain E0382`.