1 error[E0382]: use of moved value: `x`
2 --> $DIR/binop-move-semantics.rs:8:5
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]: use of moved value: `x`
13 --> $DIR/binop-move-semantics.rs:14:5
19 | ^ value used here after move
21 = note: move occurs because `x` has type `T`, which does not implement the `Copy` trait
23 error[E0505]: cannot move out of `x` because it is borrowed
24 --> $DIR/binop-move-semantics.rs:21:5
27 | - borrow of `x` occurs here
30 | ^ move out of `x` occurs here
32 error[E0505]: cannot move out of `y` because it is borrowed
33 --> $DIR/binop-move-semantics.rs:23:5
36 | - borrow of `y` occurs here
39 | ^ move out of `y` occurs here
41 error[E0507]: cannot move out of borrowed content
42 --> $DIR/binop-move-semantics.rs:30:5
45 | ^^ cannot move out of borrowed content
47 error[E0507]: cannot move out of borrowed content
48 --> $DIR/binop-move-semantics.rs:32:5
51 | ^^ cannot move out of borrowed content
53 error[E0502]: cannot borrow `f` as immutable because it is also borrowed as mutable
54 --> $DIR/binop-move-semantics.rs:54:6
57 | - mutable borrow occurs here
62 | immutable borrow occurs here
63 | mutable borrow ends here
65 error[E0502]: cannot borrow `f` as mutable because it is also borrowed as immutable
66 --> $DIR/binop-move-semantics.rs:62:10
69 | - immutable borrow occurs here
74 | mutable borrow occurs here
75 | immutable borrow ends here
77 error: aborting due to 8 previous errors
79 Some errors occurred: E0382, E0502, E0505, E0507.
80 For more information about an error, try `rustc --explain E0382`.