1 error[E0382]: use of moved value: `x`
2 --> $DIR/type_of_a_let.rs:16:16
4 LL | let x: Foo = 22_u32;
5 | - move occurs because `x` has type `Foo`, which does not implement the `Copy` trait
8 LL | same_type((x, y));
9 | ^ value used here after move
11 error[E0382]: use of moved value: `y`
12 --> $DIR/type_of_a_let.rs:17:5
15 | - move occurs because `y` has type `Foo`, which does not implement the `Copy` trait
16 LL | same_type((x, y));
19 | ^ value used here after move
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0382`.